1
0
forked from bip/bip

ENABLED might not be defined: use a default value

For example using ENABLED in /etc/default/bip is DEPRECATED in Debian.

Closes #618.
This commit is contained in:
Pierre-Louis Bonicoli 2021-10-11 18:06:27 +02:00
parent df2a9eab17
commit 722ed9a8da
Signed by untrusted user: pilou
GPG Key ID: 06914C4A5EDAA6DD

View File

@ -11,7 +11,7 @@ EnvironmentFile=/run/sysconfig/bip
Type=forking Type=forking
User=bip User=bip
Group=bip Group=bip
ExecStartPre=/bin/sh -c '[ $ENABLED != 0 ]' ExecStartPre=/bin/sh -c '[ ${ENABLED:-1} != 0 ]'
ExecStart=/usr/bin/bip $DAEMON_ARGS ExecStart=/usr/bin/bip $DAEMON_ARGS
ExecReload=/bin/kill -HUP $MAINPID ExecReload=/bin/kill -HUP $MAINPID
RuntimeDirectory=bip RuntimeDirectory=bip