Provide an example unit file for systemd
1 files changed, 14 insertions(+), 0 deletions(-) A unit/biboumi.service
A unit/biboumi.service => unit/biboumi.service +14 -0
@@ 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