Pierre-Louis Bonicoli
722ed9a8da
For example using ENABLED in /etc/default/bip is DEPRECATED in Debian. Closes #618.
24 lines
429 B
Desktop File
24 lines
429 B
Desktop File
[Unit]
|
|
Description=Bip IRC Proxy
|
|
Requires=network.target
|
|
|
|
Wants=bip-config.service
|
|
After=bip-config.service
|
|
|
|
[Service]
|
|
EnvironmentFile=/run/sysconfig/bip
|
|
|
|
Type=forking
|
|
User=bip
|
|
Group=bip
|
|
ExecStartPre=/bin/sh -c '[ ${ENABLED:-1} != 0 ]'
|
|
ExecStart=/usr/bin/bip $DAEMON_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
RuntimeDirectory=bip
|
|
RuntimeDirectoryMode=0750
|
|
KillMode=process
|
|
Restart=on-abnormal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|