Add systemd units (examples)
[exim.git] / configs / system-integration / systemd / inetd / exim@.service
1 [Unit]
2 Description=Exim MTA (socket activated - inetd mode)
3 Documentation=man:exim
4 Documentation=https://exim.org/docs.html
5
6 [Service]
7 Type=exec
8
9 # We can't use -odf, as this would ask exim to keep the connection
10 # from the client open until the delivery is done
11 ExecStart={{exim}} -bs
12
13 StandardInput=socket
14 StandardError=journal
15
16 # Don't kill the delivery process we spawned as a child
17 KillMode=process
18
19 # If you do not need local deliveries, enabling the
20 # next option can improve security
21 #NoNewPrivileges=yes
22
23 ProtectSystem=strict
24 ReadWriteDirectories={{spooldir}}
25 ReadWriteDirectories={{logdir}}
26
27 Slice=exim.slice