summarylogtreecommitdiffstats
path: root/courier-esmtpd-ssl.service
diff options
context:
space:
mode:
Diffstat (limited to 'courier-esmtpd-ssl.service')
-rw-r--r--courier-esmtpd-ssl.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/courier-esmtpd-ssl.service b/courier-esmtpd-ssl.service
index f0ffb04a675..b24d5903974 100644
--- a/courier-esmtpd-ssl.service
+++ b/courier-esmtpd-ssl.service
@@ -1,12 +1,12 @@
[Unit]
Description=Courier ESMTP Daemon
Requires=authdaemond.service
-After=authdaemond.service, courier-courierfilter.service
+After=authdaemond.service courier-courierfilter.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-ssl start
ExecStop=/usr/sbin/esmtpd-ssl stop
PIDFile=/var/run/courier/esmtpd-ssl.pid