killdaemon
# PID file must be DIR/spool/exim-daemon.* in order for "killdaemon" to work
exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid
****
killdaemon
# PID file must be DIR/spool/exim-daemon.* in order for "killdaemon" to work
exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid
****
killdaemon
#
# Check for a SIGTERM daemon kill removing the pid file
exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/mypidfile
****
sleep 1
killdaemon
#
# Check for a SIGTERM daemon kill removing the pid file
exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/mypidfile
****
sleep 1
open(IN, "<", "DIR/spool/mypidfile");
while (<IN>) { kill "TERM", $_; }
****
open(IN, "<", "DIR/spool/mypidfile");
while (<IN>) { kill "TERM", $_; }
****