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:05:00 +0100
commitc2a9e61860543d0d44e48fdf6c0eb97123e2981b (patch)
tree92ba00c354a1beb07dbd1b455a6c5181d37e3e5a /kolabd/kolabd.systemd
parent0930e0570120e8dbd427c88481c139cfae6d9e03 (diff)
downloadpykolab-c2a9e61860543d0d44e48fdf6c0eb97123e2981b.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