summaryrefslogtreecommitdiffstats
path: root/kolabd
diff options
context:
space:
mode:
Diffstat (limited to 'kolabd')
-rw-r--r--kolabd/__init__.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/kolabd/__init__.py b/kolabd/__init__.py
index bf4fc7b..5283c9f 100644
--- a/kolabd/__init__.py
+++ b/kolabd/__init__.py
@@ -91,6 +91,12 @@ class KolabDaemon(object):
exitcode = 0
+ utils.ensure_directory(
+ os.path.dirname(conf.pidfile),
+ conf.process_username,
+ conf.process_groupname
+ )
+
try:
try:
(ruid, euid, suid) = os.getresuid()