summarylogtreecommitdiffstats
path: root/courier-pop3d.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 /courier-pop3d.service
downloadaur-07026cb4edaad121ff9f687adb8b76fc64e1709b.tar.gz
Update and migrate to AUR4
Diffstat (limited to 'courier-pop3d.service')
-rw-r--r--courier-pop3d.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/courier-pop3d.service b/courier-pop3d.service
new file mode 100644
index 000000000000..5f8cf5efd83d
--- /dev/null
+++ b/courier-pop3d.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Courier POP3 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/pop3d start
+ExecStop=/usr/sbin/pop3d stop
+PIDFile=/var/run/courier/pop3d.pid
+
+[Install]
+WantedBy=multi-user.target