diff options
author | Florent Le Coz <louiz@louiz.org> | 2014-06-27 21:39:28 +0200 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2014-06-30 01:04:02 +0200 |
commit | e01e34db22eb770efd0cb752bcfe4aad28157c93 (patch) | |
tree | a6a5a2469c80a655af65300994faeb50cb9406b7 /unit | |
parent | 5a43ac9a0d161b12c8745e3374983482049798a6 (diff) | |
download | biboumi-e01e34db22eb770efd0cb752bcfe4aad28157c93.tar.gz biboumi-e01e34db22eb770efd0cb752bcfe4aad28157c93.tar.bz2 biboumi-e01e34db22eb770efd0cb752bcfe4aad28157c93.tar.xz biboumi-e01e34db22eb770efd0cb752bcfe4aad28157c93.zip |
Provide an example unit file for systemd
Diffstat (limited to 'unit')
-rw-r--r-- | unit/biboumi.service | 14 |
1 files changed, 14 insertions, 0 deletions
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 |