aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/postfix.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/postfix.service')
-rw-r--r--clfs/units/postfix.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/clfs/units/postfix.service b/clfs/units/postfix.service
new file mode 100644
index 0000000..e7d4cd2
--- /dev/null
+++ b/clfs/units/postfix.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Postfix Mail Transport Agent
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/var/spool/postfix/pid/master.pid
+ExecStart=/usr/sbin/postfix start
+ExecStop=/usr/sbin/postfix stop
+ExecReload=/usr/sbin/postfix reload
+Restart=always
+
+[Install]
+WantedBy=multi-user.target