summarylogtreecommitdiffstats
path: root/courier-imapd.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-imapd.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-imapd.service')
-rw-r--r--courier-imapd.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/courier-imapd.service b/courier-imapd.service
index af01f2b4a0d..d132b987d84 100644
--- a/courier-imapd.service
+++ b/courier-imapd.service
@@ -5,10 +5,9 @@ After=authdaemond.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/imapd start
ExecStop=/usr/sbin/imapd stop
-PIDFile=/var/run/courier/imapd.pid
+PIDFile=/run/courier/imapd.pid
[Install]
WantedBy=multi-user.target