summaryrefslogtreecommitdiff
path: root/debian/exim4-config.config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/exim4-config.config')
-rw-r--r--debian/exim4-config.config6
1 files changed, 4 insertions, 2 deletions
diff --git a/debian/exim4-config.config b/debian/exim4-config.config
index e903715..13b726e 100644
--- a/debian/exim4-config.config
+++ b/debian/exim4-config.config
@@ -743,6 +743,8 @@ dc_postmaster=`echo "$RET" | stripwhitespace`
# db_set exim4/dc_other_hostnames ""
# fi
if [ "$1" = "reconfigure" ] && [ -x /etc/init.d/exim4 ] &&\
- command -v invoke-rc.d >/dev/null 2>&1; then
- invoke-rc.d exim4 reload || true
+ command -v invoke-rc.d >/dev/null 2>&1; then
+ # use restart instead of reload, as changing listenig interfaces
+ # cannot be done with HUP.
+ invoke-rc.d exim4 restart || true
fi