Import Debian changes 4.89-2+deb9u3~bpo8+1
[hcoop/debian/exim4.git] / debian / exim4-base.postrm
index 331bafd..c875e52 100644 (file)
@@ -19,8 +19,8 @@ case "$1" in
        if [ -x /etc/init.d/exim4 ]; then
                 if [ -n "$EX4DEBUG" ]; then
                   netstat -tulpen
-                  ls -al /var/run/exim4/
-                  cat /var/run/exim4/exim.pid
+                  ls -al /run/exim4/
+                  cat /run/exim4/exim.pid
                   pidof exim4
                 fi
                if command -v invoke-rc.d >/dev/null 2>&1; then
@@ -30,8 +30,8 @@ case "$1" in
                fi
                 if [ -n "$EX4DEBUG" ]; then
                   netstat -tulpen
-                  ls -al /var/run/exim4/
-                  cat /var/run/exim4/exim.pid
+                  ls -al /run/exim4/
+                  cat /run/exim4/exim.pid
                   pidof exim4
                   if pidof exim4; then
                     echo >&2 "WARN: There are some exim4 processes still running after stopping exim"
@@ -59,7 +59,7 @@ case "$1" in
        fi
                                                        
        # remove logs and pid-dir.
-       rm -rf /var/run/exim4 /var/log/exim4 /var/spool/exim4/msglog \
+       rm -rf /run/exim4 /var/log/exim4 /var/spool/exim4/msglog \
                /var/spool/exim4/db /var/spool/exim4/exim-process.info \
                /var/spool/exim4/gnutls-params*
        rmdir /var/spool/exim4 /var/lib/exim4 2> /dev/null || true