summarylogtreecommitdiffstats
path: root/courier-esmtpd.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-esmtpd.service
parent07026cb4edaad121ff9f687adb8b76fc64e1709b (diff)
downloadaur-f00c1f45244dfeac6e0c3fc2301483e484900f42.tar.gz
Fix Unit Files
Diffstat (limited to 'courier-esmtpd.service')
-rw-r--r--courier-esmtpd.service4
1 files changed, 2 insertions, 2 deletions
diff --git a/courier-esmtpd.service b/courier-esmtpd.service
index c085b6b205b..968a42fb21c 100644
--- a/courier-esmtpd.service
+++ b/courier-esmtpd.service
@@ -1,11 +1,11 @@
[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 start
ExecStop=/usr/sbin/esmtpd stop
PIDFile=/var/run/courier/esmtpd.pid