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 | ||||
10 | ExecStartPre=-@LIBEXECDIR@/aliasesdb | ||||
11 | ExecStart=@SBINDIR@/postfix start | ||||
12 | ExecReload=@SBINDIR@/postfix reload | ||||
13 | ExecStop=@SBINDIR@/postfix stop | ||||
14 | |||||
15 | [Install] | ||||
16 | WantedBy=multi-user.target |