X-Git-Url: https://git.exim.org/exim.git/blobdiff_plain/44e53a7361d3f02ea411c3755d7cd2b940107606..bb6a0f57e5c1a04c9c191af6a37184970003b1c2:/configs/system-integration/systemd/inetd/exim%40.service diff --git a/configs/system-integration/systemd/inetd/exim@.service b/configs/system-integration/systemd/inetd/exim@.service new file mode 100644 index 000000000..7771fde4a --- /dev/null +++ b/configs/system-integration/systemd/inetd/exim@.service @@ -0,0 +1,27 @@ +[Unit] +Description=Exim MTA (socket activated - inetd mode) +Documentation=man:exim +Documentation=https://exim.org/docs.html + +[Service] +Type=exec + +# We can't use -odf, as this would ask exim to keep the connection +# from the client open until the delivery is done +ExecStart={{exim}} -bs + +StandardInput=socket +StandardError=journal + +# Don't kill the delivery process we spawned as a child +KillMode=process + +# If you do not need local deliveries, enabling the +# next option can improve security +#NoNewPrivileges=yes + +ProtectSystem=strict +ReadWriteDirectories={{spooldir}} +ReadWriteDirectories={{logdir}} + +Slice=exim.slice