Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 1 | [Unit] |
| 2 | Description=Postfix Mail Transport Agent |
| 3 | After=syslog.target network.target |
| 4 | Conflicts=sendmail.service exim.service |
| 5 | |
| 6 | [Service] |
| 7 | Type=forking |
| 8 | PIDFile=@LOCALSTATEDIR@/spool/postfix/pid/master.pid |
| 9 | ExecStartPre=-@SBINDIR@/check_hostname.sh |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 10 | ExecStartPre=-@LIBEXECDIR@/postfix/aliasesdb |
Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame] | 11 | ExecStart=@SBINDIR@/postfix start |
| 12 | ExecReload=@SBINDIR@/postfix reload |
| 13 | ExecStop=@SBINDIR@/postfix stop |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |