diff options
author | Joe Holden | 2020-11-22 10:00:56 +0000 |
---|---|---|
committer | Joe Holden | 2020-11-22 10:00:56 +0000 |
commit | 7f4503ab8de852b6bf18978c089b4afd12a627e6 (patch) | |
tree | 9118e142e78323390e1694203404049adb6ac2ad /postfix.service | |
download | aur-7f4503ab8de852b6bf18978c089b4afd12a627e6.tar.gz |
.
Diffstat (limited to 'postfix.service')
-rw-r--r-- | postfix.service | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/postfix.service b/postfix.service new file mode 100644 index 000000000000..2c972d8d1a31 --- /dev/null +++ b/postfix.service @@ -0,0 +1,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 |