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