summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimotheus Pokorra <tp@tbits.net>2015-02-13 10:10:39 +0100
committerTimotheus Pokorra <timotheus.pokorra@solidcharity.com>2015-02-13 12:24:28 +0100
commit211d7e91775235b7ecd64b069535f6912ca40ce4 (patch)
tree2c859f9a21f3f82da096f3cada133b574f032c48
parentfd84ecba7e83719f444d930b31d3415056b1c732 (diff)
downloadpykolab-211d7e91775235b7ecd64b069535f6912ca40ce4.tar.gz
fixing location of kolabd.pid file for systemd. fixing #2626
-rw-r--r--kolabd/kolabd.systemd4
1 files changed, 2 insertions, 2 deletions
diff --git a/kolabd/kolabd.systemd b/kolabd/kolabd.systemd
index 92db05e..6d66334 100644
--- a/kolabd/kolabd.systemd
+++ b/kolabd/kolabd.systemd
@@ -4,11 +4,11 @@ After=syslog.target network.target
[Service]
Type=forking
-PIDFile=/var/run/kolabd/kolabd.pid
+PIDFile=/run/kolabd/kolabd.pid
User=kolab
Group=kolab
EnvironmentFile=/etc/sysconfig/kolabd
-ExecStart=/usr/sbin/kolabd $FLAGS
+ExecStart=/usr/sbin/kolabd $FLAGS --pid-file /run/kolabd/kolabd.pid
ExecReload=/bin/kill -HUP $MAINPID
ExecStop=/bin/kill -TERM $MAINPID