summarylogtreecommitdiffstats
path: root/webmaild.service
diff options
context:
space:
mode:
authorBernd PrĂ¼nster2015-07-13 10:46:51 +0200
committerBernd PrĂ¼nster2015-07-13 10:46:51 +0200
commit07026cb4edaad121ff9f687adb8b76fc64e1709b (patch)
tree23d7aa1dffb9a40bdc8a6afaf450cebb3ed1cc09 /webmaild.service
downloadaur-07026cb4edaad121ff9f687adb8b76fc64e1709b.tar.gz
Update and migrate to AUR4
Diffstat (limited to 'webmaild.service')
-rw-r--r--webmaild.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/webmaild.service b/webmaild.service
new file mode 100644
index 00000000000..ca3939d29a8
--- /dev/null
+++ b/webmaild.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Courier Webmail Daemon
+Requires=authdaemond.service
+After=authdaemond.service
+
+[Service]
+Type=forking
+ExecStartPre=[ -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
+
+[Install]
+WantedBy=multi-user.target