summarylogtreecommitdiffstats
path: root/webmaild.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 /webmaild.service
parent28670952a0feac43b428967b12cc1195a80380cb (diff)
downloadaur-c0bba3c11c80641e126285044b1009620d2509a6.tar.gz
Changed /var/run to /run in service files to avoid using symlinks with systemd
Diffstat (limited to 'webmaild.service')
-rw-r--r--webmaild.service3
1 files changed, 1 insertions, 2 deletions
diff --git a/webmaild.service b/webmaild.service
index 77fd755b5ba..9412e4d9261 100644
--- a/webmaild.service
+++ b/webmaild.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/webmaild start
ExecStop=/usr/sbin/webmaild stop
-PIDFile=/var/run/courier/webmaild.pid
+PIDFile=/run/courier/webmaild.pid
[Install]
WantedBy=multi-user.target