blob: 30d54a4405305275553bc2a90b5b484dad9bbc2c [file] [log] [blame]
Patrick Williamsb48b7b42016-08-17 15:04:38 -05001[Unit]
2Description=Postfix Mail Transport Agent
3After=syslog.target network.target
4Conflicts=sendmail.service exim.service
5
6[Service]
7Type=forking
8PIDFile=@LOCALSTATEDIR@/spool/postfix/pid/master.pid
9ExecStartPre=-@SBINDIR@/check_hostname.sh
Brad Bishop316dfdd2018-06-25 12:45:53 -040010ExecStartPre=-@LIBEXECDIR@/postfix/aliasesdb
Patrick Williamsb48b7b42016-08-17 15:04:38 -050011ExecStart=@SBINDIR@/postfix start
12ExecReload=@SBINDIR@/postfix reload
13ExecStop=@SBINDIR@/postfix stop
14
15[Install]
16WantedBy=multi-user.target