summarylogtreecommitdiffstats
path: root/courier-imapd-ssl.service
diff options
context:
space:
mode:
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