exim/exim.service

28 lines
713 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Exim Mail Transport Agent
After=network.target
Conflicts=sendmail.service postfix.service
[Service]
PrivateTmp=true
# added automatically, for details please see
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
ProtectSystem=full
# exim needs to access ~/.forward and MDA-files to for local delivery
# ProtectHome=true
PrivateDevices=true
ProtectHostname=true
ProtectClock=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectKernelLogs=true
ProtectControlGroups=true
RestrictRealtime=true
# end of automatic additions
Environment=QUEUE=1h
EnvironmentFile=-/etc/sysconfig/exim
ExecStart=/usr/sbin/exim $EXIM_ARGS
[Install]
WantedBy=multi-user.target