aboutsummaryrefslogtreecommitdiff
path: root/package/exim/exim.mk
diff options
context:
space:
mode:
authorGravatar Pascal de Bruijn <p.debruijn@unilogic.nl>2020-03-02 11:19:02 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@bootlin.com>2020-04-13 23:05:44 +0200
commit754341460b7aa751164d7d7ec9b67908c2792fe2 (patch)
tree2480cc00341899fc2c289fdbd9de9d6150276925 /package/exim/exim.mk
parenta9434debcd149d0c03b2c0460e030ceeb27bfcc0 (diff)
downloadbuildroot-754341460b7aa751164d7d7ec9b67908c2792fe2.tar.gz
buildroot-754341460b7aa751164d7d7ec9b67908c2792fe2.tar.bz2
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>
Diffstat (limited to 'package/exim/exim.mk')
-rw-r--r--package/exim/exim.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/package/exim/exim.mk b/package/exim/exim.mk
index e4b0bfc1b4..8d5b6e415b 100644
--- a/package/exim/exim.mk
+++ b/package/exim/exim.mk
@@ -39,6 +39,8 @@ define EXIM_USE_DEFAULT_CONFIG_FILE
$(INSTALL) -m 0644 $(@D)/src/EDITME $(@D)/Local/Makefile
$(call exim-config-change,BIN_DIRECTORY,/usr/sbin)
$(call exim-config-change,CONFIGURE_FILE,/etc/exim/configure)
+ $(call exim-config-change,LOG_FILE_PATH,/var/log/exim/exim_%slog)
+ $(call exim-config-change,PID_FILE_PATH,/var/run/exim/exim.pid)
$(call exim-config-change,EXIM_USER,ref:exim)
$(call exim-config-change,EXIM_GROUP,mail)
$(call exim-config-change,TRANSPORT_LMTP,yes)