summaryrefslogtreecommitdiffstats
path: root/kolabd/kolabd.systemd
diff options
context:
space:
mode:
authorJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-17 10:04:29 +0100
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-05-17 10:04:29 +0100
commit327d454e7ba88b8a0b50fac3be088f6fed7ddc26 (patch)
treedcdca7a537eb340193199b630c896de26da55a13 /kolabd/kolabd.systemd
parent1bb67edadd665af35366a07d60d61ef966c15d22 (diff)
downloadpykolab-327d454e7ba88b8a0b50fac3be088f6fed7ddc26.tar.gz
Set kolabd to run as kolab:kolab (systemd) or with daemon options --user kolab
Diffstat (limited to 'kolabd/kolabd.systemd')
-rw-r--r--kolabd/kolabd.systemd2
1 files changed, 2 insertions, 0 deletions
diff --git a/kolabd/kolabd.systemd b/kolabd/kolabd.systemd
index 80305f8..92db05e 100644
--- a/kolabd/kolabd.systemd
+++ b/kolabd/kolabd.systemd
@@ -5,6 +5,8 @@ After=syslog.target network.target
[Service]
Type=forking
PIDFile=/var/run/kolabd/kolabd.pid
+User=kolab
+Group=kolab
EnvironmentFile=/etc/sysconfig/kolabd
ExecStart=/usr/sbin/kolabd $FLAGS
ExecReload=/bin/kill -HUP $MAINPID