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..78431b4fbb62
--- /dev/null
+++ b/smtpd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenSMTPD
+Requires=network-online.target
+After=network-online.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/smtpd -f /etc/smtpd/smtpd.conf
+
+[Install]
+WantedBy=multi-user.target