summarylogtreecommitdiffstats
path: root/courier-imapd-ssl.service
diff options
context:
space:
mode:
authorBernd PrĂ¼nster2015-09-13 13:04:07 +0200
committerBernd PrĂ¼nster2015-09-13 13:26:52 +0200
commitf00c1f45244dfeac6e0c3fc2301483e484900f42 (patch)
tree59bffa0770f70a5840ace090207c97900a1fb6fd /courier-imapd-ssl.service
parent07026cb4edaad121ff9f687adb8b76fc64e1709b (diff)
downloadaur-f00c1f45244dfeac6e0c3fc2301483e484900f42.tar.gz
Fix Unit Files
Diffstat (limited to 'courier-imapd-ssl.service')
-rw-r--r--courier-imapd-ssl.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/courier-imapd-ssl.service b/courier-imapd-ssl.service
index 94223d32ecb..75dbf62ff40 100644
--- a/courier-imapd-ssl.service
+++ b/courier-imapd-ssl.service
@@ -5,7 +5,7 @@ After=authdaemond.service
[Service]
Type=forking
-ExecStartPre=[ -d /var/run/courier ] || mkdir -p /var/run/courier && chown courier:courier /var/run/courier
+ExecStartPre=/usr/bin/sh -c "[ -d /var/run/courier ] || mkdir -p /var/run/courier && chown courier:courier /var/run/courier"
ExecStart=/usr/sbin/imapd-ssl start
ExecStop=/usr/sbin/imapd-ssl stop
PIDFile=/var/run/courier/imapd-ssl.pid