summarylogtreecommitdiffstats
path: root/courier-esmtpd-ssl.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-esmtpd-ssl.service
downloadaur-07026cb4edaad121ff9f687adb8b76fc64e1709b.tar.gz
Update and migrate to AUR4
Diffstat (limited to 'courier-esmtpd-ssl.service')
-rw-r--r--courier-esmtpd-ssl.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/courier-esmtpd-ssl.service b/courier-esmtpd-ssl.service
new file mode 100644
index 00000000000..f0ffb04a675
--- /dev/null
+++ b/courier-esmtpd-ssl.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Courier ESMTP Daemon
+Requires=authdaemond.service
+After=authdaemond.service, courier-courierfilter.service
+
+
+[Service]
+Type=forking
+ExecStartPre=[ -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
+
+[Install]
+WantedBy=multi-user.target