summaryrefslogtreecommitdiffstats
path: root/debian/patches/33_eximon.binary.dpatch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/33_eximon.binary.dpatch')
-rwxr-xr-xdebian/patches/33_eximon.binary.dpatch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/33_eximon.binary.dpatch b/debian/patches/33_eximon.binary.dpatch
new file mode 100755
index 0000000..e0f5593
--- /dev/null
+++ b/debian/patches/33_eximon.binary.dpatch
@@ -0,0 +1,17 @@
+Description: We move eximon.bin out of $PATH to /usr/libexec/. Let it be
+ found there.
+Author: Andreas Piesk
+Last-Update: 2020-03-21
+Forwarded: not-needed
+
+--- a/OS/eximon.conf-Default
++++ b/OS/eximon.conf-Default
+@@ -5,7 +5,7 @@
+ # The name of the eximon binary, usually the same as the eximon script,
+ # with .bin stuck on the end.
+
+-EXIMON_BINARY="${EXIMON_BINARY-$0.bin}"
++EXIMON_BINARY="/usr/libexec/exim4/${EXIMON_BINARY-${0##*/}.bin}"
+
+ # The remaining parameters are values likely to be changed to suit the
+ # user's taste. They are documented in the EDITME file.