path: exim4_4.99.1-1/debian/exim4-config.postinst 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" path: exim4_4.99.1-1/debian/exim4-config.postinst ls -al /run/exim4/ cat /run/exim4/exim.pid pidof exim4 fi if [ "$dc_eximconfig_configtype" = "none" ]; then path: exim4_4.99.1-1/debian/exim4-config.postinst 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 path: exim4_4.99.1-1/debian/exim4-daemon-light.prerm 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" path: exim4_4.99.1-1/debian/exim4-daemon-light.prerm 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 path: exim4_4.99.1-1/debian/exim4-daemon-light.prerm ls -al /run/exim4/ cat /run/exim4/exim.pid pidof exim4 fi invoke-rc.d exim4 stop path: exim4_4.99.1-1/debian/exim4-base.exim4.init kill_all_exims() { SIG="${1:-TERM}" for pid in $(pidof $NAME); do if [ "$(readlink /proc/$pid/root)" = "/" ]; then kill -$SIG $pid path: exim4_4.99.1-1/debian/exim4-base.exim4.init { log_action_begin_msg "checking $NAME" if pidofproc -p "$PIDFILE" "$DAEMON" >/dev/null; then log_action_end_msg 0 "running" exit 0 path: exim4_4.99.1-1/debian/exim4-base.postrm ls -al /run/exim4/ cat /run/exim4/exim.pid pidof exim4 fi invoke-rc.d exim4 stop path: exim4_4.99.1-1/debian/exim4-base.postrm 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" path: exim4_4.99.1-1/debian/exim4-base.postrm 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 path: exim4_4.99.1-1/debian/changelog * Import updated watchfile by Bart Martens. (Handles more compression types and x.y.revision versioning.) * In initscript invoke pidofproc with a pathname argument as it is documented in LSB and required by lsb-base (>= 4.1+Debian9). Closes: #693696, #718871