summaryrefslogtreecommitdiff
path: root/courier-mta/courier-esmtpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'courier-mta/courier-esmtpd.service')
-rw-r--r--courier-mta/courier-esmtpd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/courier-mta/courier-esmtpd.service b/courier-mta/courier-esmtpd.service
new file mode 100644
index 00000000..812a8cc3
--- /dev/null
+++ b/courier-mta/courier-esmtpd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Courier ESMTP Daemon
+Requires=authdaemond.service
+After=authdaemond.service courier-courierfilter.service
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/esmtpd start
+ExecStop=/usr/sbin/esmtpd stop
+PIDFile=/run/courier/esmtpd.pid
+
+[Install]
+WantedBy=multi-user.target