2011-11-08 16:23:51 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Postfix Mail Transport Agent
|
|
|
|
After=syslog.target network.target
|
|
|
|
Conflicts=sendmail.service exim.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/spool/postfix/pid/master.pid
|
|
|
|
EnvironmentFile=-/etc/sysconfig/network
|
2016-06-29 08:43:05 +00:00
|
|
|
PrivateTmp=true
|
|
|
|
CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
|
|
|
|
ProtectSystem=true
|
|
|
|
PrivateDevices=true
|
2021-12-14 00:21:01 +00:00
|
|
|
ExecStartPre=-/usr/sbin/restorecon -R /var/spool/postfix/pid/master.pid
|
2011-11-08 16:23:51 +00:00
|
|
|
ExecStartPre=-/usr/libexec/postfix/aliasesdb
|
2012-09-06 13:14:55 +00:00
|
|
|
ExecStartPre=-/usr/libexec/postfix/chroot-update
|
2011-11-08 16:23:51 +00:00
|
|
|
ExecStart=/usr/sbin/postfix start
|
|
|
|
ExecReload=/usr/sbin/postfix reload
|
|
|
|
ExecStop=/usr/sbin/postfix stop
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|