From e01e34db22eb770efd0cb752bcfe4aad28157c93 Mon Sep 17 00:00:00 2001 From: Florent Le Coz Date: Fri, 27 Jun 2014 21:39:28 +0200 Subject: Provide an example unit file for systemd --- unit/biboumi.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 unit/biboumi.service (limited to 'unit') diff --git a/unit/biboumi.service b/unit/biboumi.service new file mode 100644 index 0000000..579ac4e --- /dev/null +++ b/unit/biboumi.service @@ -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 -- cgit v1.2.3