From d3078b183348e703cf5928128d2706c31fc7d870 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 5 Mar 2014 13:16:40 -0600 Subject: Initial commit. --- clfs/units/postfix.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 clfs/units/postfix.service (limited to 'clfs/units/postfix.service') 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 -- cgit v1.2.3-54-g00ecf