summaryrefslogtreecommitdiffstats
path: root/debian/exim4-config.exim4.ppp.ip-up
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:47:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 00:47:27 +0000
commitd5eb37dd4a5a433c40c3c1e7ead424add62663f8 (patch)
tree6a18289cb463d11227d1fa4c990548e50a09d917 /debian/exim4-config.exim4.ppp.ip-up
parentAdding upstream version 4.92. (diff)
downloadexim4-d5eb37dd4a5a433c40c3c1e7ead424add62663f8.tar.xz
exim4-d5eb37dd4a5a433c40c3c1e7ead424add62663f8.zip
Adding debian version 4.92-8+deb10u6.debian/4.92-8+deb10u6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/exim4-config.exim4.ppp.ip-up')
-rw-r--r--debian/exim4-config.exim4.ppp.ip-up15
1 files changed, 15 insertions, 0 deletions
diff --git a/debian/exim4-config.exim4.ppp.ip-up b/debian/exim4-config.exim4.ppp.ip-up
new file mode 100644
index 0000000..d723ff5
--- /dev/null
+++ b/debian/exim4-config.exim4.ppp.ip-up
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+if [ -n "$EX4DEBUG" ]; then
+ echo "now debugging $0 $@"
+ set -x
+fi
+
+[ -x /usr/lib/exim4/exim4 ] || exit 0
+
+[ -f /etc/default/exim4 ] && . /etc/default/exim4
+
+if [ "${QUEUERUNNER}" != "no" ] ; then
+# Flush exim queue
+ /usr/sbin/exim4 -qqf ${QUEUERUNNEROPTIONS} ${COMMONOPTIONS}
+fi