You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
670 B
23 lines
670 B
2 years ago
|
[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
|
||
|
PrivateTmp=true
|
||
|
CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
|
||
|
ProtectSystem=true
|
||
|
PrivateDevices=true
|
||
|
ExecStartPre=-/usr/sbin/restorecon -R /var/spool/postfix/pid/master.pid
|
||
|
ExecStartPre=-/usr/libexec/postfix/aliasesdb
|
||
|
ExecStartPre=-/usr/libexec/postfix/chroot-update
|
||
|
ExecStart=/usr/sbin/postfix start
|
||
|
ExecReload=/usr/sbin/postfix reload
|
||
|
ExecStop=/usr/sbin/postfix stop
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|