754341460b
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>
15 lines
219 B
Desktop File
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
|