summarylogtreecommitdiffstats
path: root/smtpd.service
diff options
context:
space:
mode:
Diffstat (limited to 'smtpd.service')
-rw-r--r--smtpd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/smtpd.service b/smtpd.service
new file mode 100644
index 000000000000..11120c654179
--- /dev/null
+++ b/smtpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=A FREE implementation of the server-side SMTP protocol
+After=network.target
+Wants=network.target
+
+[Service]
+ExecStart=/usr/sbin/smtpd -d
+ExecStop=/usr/bin/smtpctl stop
+
+[Install]
+WantedBy=multi-user.target