buildroot/package/exim/exim.service
Pascal de Bruijn 754341460b package/exim: fix log and pid file paths
By default, exim stores its PID file in /var/spool/exim, and its log
file in /var/spool/exim/log, but it makes a lot more sense to have the
logs in /var/log/exim and the PID file in /var/run/exim.

Using binary name subdirectory in both cases allows for the use of
systemd's LogsDirectory and RuntimeDirectory statements

Signed-off-by: Pascal de Bruijn <p.debruijn@unilogic.nl>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-04-13 23:05:44 +02:00

15 lines
219 B
Desktop File

[Unit]
Description=Exim MTA
After=syslog.target network.target
[Service]
User=exim
Group=mail
LogsDirectory=exim
RuntimeDirectory=exim
ExecStart=/usr/sbin/exim -bdf
Restart=always
[Install]
WantedBy=multi-user.target