summarylogtreecommitdiffstats
path: root/courier-esmtpd-ssl.service
diff options
context:
space:
mode:
authorNeil Romig2018-08-03 07:51:18 +0100
committerNeil Romig2018-08-03 07:51:18 +0100
commitc0bba3c11c80641e126285044b1009620d2509a6 (patch)
treec17a11a2774d741410b4fbb44df0bb3d44f9b716 /courier-esmtpd-ssl.service
parent28670952a0feac43b428967b12cc1195a80380cb (diff)
downloadaur-c0bba3c11c80641e126285044b1009620d2509a6.tar.gz
Changed /var/run to /run in service files to avoid using symlinks with systemd
Diffstat (limited to 'courier-esmtpd-ssl.service')
-rw-r--r--courier-esmtpd-ssl.service4
1 files changed, 1 insertions, 3 deletions
diff --git a/courier-esmtpd-ssl.service b/courier-esmtpd-ssl.service
index b24d5903974..6f43f237787 100644
--- a/courier-esmtpd-ssl.service
+++ b/courier-esmtpd-ssl.service
@@ -3,13 +3,11 @@ Description=Courier ESMTP Daemon
Requires=authdaemond.service
After=authdaemond.service courier-courierfilter.service
-
[Service]
Type=forking
-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
+PIDFile=/run/courier/esmtpd-ssl.pid
[Install]
WantedBy=multi-user.target