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
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"
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