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

Thorsten Bonow thorsten.bonow at withouthat.org
Mon Dec 14 17:13:42 UTC 2015


>>>>> Markus Koschany <apo at gambaru.de> writes:

> 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

Hello Markus,

thx for the quick reply and explanation. Disabling the service works
for me.

Regards,

Toto



More information about the Pkg-games-devel mailing list