Bug#807911: bzflag-server: bzfs always launched on boot; RUN_AT_STARTUP setting ignored

Markus Koschany apo at gambaru.de
Mon Dec 14 15:56:00 UTC 2015


Am 14.12.2015 um 13:39 schrieb Thorsten Bonow:
> Package: bzflag-server
> Version: 2.4.2+ds1-6+b1
> Severity: normal
> 
> Dear Maintainer,
> 
> it is not possible to start a bzfs server from within BZFlag because
> there is one already running, launched during startup. Default setting
> 'RUN_AT_STARTUP="no"' in '/etc/default/bzflag' is ignored.
> 
> Manually stopping the server solves the problem. The systemd service
> file has 'EnvironmentFile=-/etc/default/bzflag line, so the default
> settings should be honoured.
> 
> Thx for packaging my favourite game.
> 
> Toto

Hello Toto,

the default policy for service files is to enable them by default. Now I
understand that the options in /etc/default/bzflag cannot be completely
honored because "RUN_AT_STARTUP" is a sysV init specific option that is
only valid if you use the old sysV init system instead of systemd.

The recommended way to change options and service files is to create a
custom service file and to move it to /etc/systemd/system. If you want
to disable the server on startup then you must run

	systemctl disable bzflag.service

or you must only install bzflag-client.

I will remove the EnvironmentFile and Environment lines from the service
file to avoid any confusion in the future and document this new behavior
in README.Debian.

Regards,

Markus


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20151214/849f9959/attachment.sig>


More information about the Pkg-games-devel mailing list