summaryrefslogtreecommitdiffstats
path: root/debian/patches/33_eximon.binary.dpatch
blob: e0f559300609eb982adf875aebce7e6b3a3c07d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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.