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:
parent
df2a9eab17
commit
722ed9a8da
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user