summaryrefslogtreecommitdiff
path: root/unit
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2016-01-14 14:33:49 +0100
committerFlorent Le Coz <louiz@louiz.org>2016-01-14 14:39:06 +0100
commitd58dcde856aa1885e0eb4a1286eeaa6e4861557b (patch)
tree871bfe7eab7960e23995721eb807324ab55152cd /unit
parent0864f2ab99073b62e4173da694a13aa4ccc8b554 (diff)
downloadbiboumi-d58dcde856aa1885e0eb4a1286eeaa6e4861557b.tar.gz
biboumi-d58dcde856aa1885e0eb4a1286eeaa6e4861557b.tar.bz2
biboumi-d58dcde856aa1885e0eb4a1286eeaa6e4861557b.tar.xz
biboumi-d58dcde856aa1885e0eb4a1286eeaa6e4861557b.zip
Only activate systemd’s watchdog if we are compiling with systemd
ref #3152
Diffstat (limited to 'unit')
-rw-r--r--unit/biboumi.service.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/unit/biboumi.service.cmake b/unit/biboumi.service.cmake
index 0a9b76b..4685f43 100644
--- a/unit/biboumi.service.cmake
+++ b/unit/biboumi.service.cmake
@@ -1,12 +1,13 @@
[Unit]
Description=Biboumi, XMPP to IRC gateway
+Documentation=man:biboumi(1) http://biboumi.louiz.org
After=network.target
[Service]
Type=${SYSTEMD_SERVICE_TYPE}
ExecStart=${CMAKE_INSTALL_PREFIX}/bin/biboumi /etc/biboumi/biboumi.cfg
ExecReload=/bin/kill -s USR1 $MAINPID
-WatchdogSec=10
+WatchdogSec=${WATCHDOG_SEC}
Restart=always
User=nobody
Group=nobody