Provide an example unit file for systemd
This commit is contained in:
@@ -0,0 +1,14 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Biboumi, XMPP to IRC gateway
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
Type=notify
|
||||||
|
ExecStart=/usr/bin/biboumi /etc/biboumi/biboumi.cfg
|
||||||
|
ExecReload=/bin/kill -s USR1 $MAINPID
|
||||||
|
ExecStop=/bin/kill -s INT $MAINPID
|
||||||
|
WatchdogSec=10
|
||||||
|
Restart=always
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
||||||
Reference in New Issue
Block a user