aebf40
[Unit]
aebf40
Description=Postfix Mail Transport Agent
aebf40
After=syslog.target network.target
aebf40
Conflicts=sendmail.service exim.service
aebf40
aebf40
[Service]
aebf40
Type=forking
aebf40
PIDFile=/var/spool/postfix/pid/master.pid
aebf40
EnvironmentFile=-/etc/sysconfig/network
aebf40
PrivateTmp=true
aebf40
CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
aebf40
ProtectSystem=true
aebf40
PrivateDevices=true
1d3c9d
ExecStartPre=-/usr/sbin/restorecon -R /var/spool/postfix/pid/master.pid
aebf40
ExecStartPre=-/usr/libexec/postfix/aliasesdb
aebf40
ExecStartPre=-/usr/libexec/postfix/chroot-update
aebf40
ExecStart=/usr/sbin/postfix start
aebf40
ExecReload=/usr/sbin/postfix reload
aebf40
ExecStop=/usr/sbin/postfix stop
aebf40
aebf40
[Install]
aebf40
WantedBy=multi-user.target