summarylogtreecommitdiffstats
path: root/courier-imapd.service
diff options
context:
space:
mode:
Diffstat (limited to 'courier-imapd.service')
-rw-r--r--courier-imapd.service2
1 files changed, 1 insertions, 1 deletions
diff --git a/courier-imapd.service b/courier-imapd.service
index 85f694408de..af01f2b4a0d 100644
--- a/courier-imapd.service
+++ b/courier-imapd.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 start
ExecStop=/usr/sbin/imapd stop
PIDFile=/var/run/courier/imapd.pid