2017-02-15 16:03:15 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Bip IRC Proxy
|
2021-10-17 12:47:12 +02:00
|
|
|
Documentation=man:bip(1) man:bip.conf(5)
|
2017-02-15 16:03:15 +01:00
|
|
|
Requires=network.target
|
|
|
|
|
|
|
|
Wants=bip-config.service
|
|
|
|
After=bip-config.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
EnvironmentFile=/run/sysconfig/bip
|
|
|
|
|
|
|
|
Type=forking
|
|
|
|
User=bip
|
|
|
|
Group=bip
|
2021-10-11 18:06:27 +02:00
|
|
|
ExecStartPre=/bin/sh -c '[ ${ENABLED:-1} != 0 ]'
|
2017-02-15 16:03:15 +01:00
|
|
|
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
|