summarylogtreecommitdiffstats
path: root/postfix.service
blob: 2c972d8d1a316d596ef22cc828b46180af603543 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
[Unit]
Description=Postfix Mail Transport Agent
After=network.target

[Service]
CapabilityBoundingSet=~ CAP_NET_ADMIN CAP_SYS_ADMIN CAP_SYS_BOOT CAP_SYS_MODULE
ExecReload=/usr/bin/postfix reload
ExecStart=/usr/bin/postfix start
ExecStop=/usr/bin/postfix stop
PIDFile=/var/spool/postfix/pid/master.pid
PrivateDevices=true
PrivateTmp=true
ProtectSystem=true
Restart=always
Type=forking

[Install]
WantedBy=multi-user.target