Dsearch: require absolute dirname
[exim.git] / test / scripts / 0000-Basic / 0438
CommitLineData
59371ea7
PH
1# -oP to override pid file
2need_ipv4
3#
4exim -d -DSERVER=server -bd -oX PORT_D
5****
6killdaemon
7# PID file must be DIR/spool/exim-daemon.* in order for "killdaemon" to work
8exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.anotherpid
9****
10killdaemon
01446a56
JH
11#
12# Check for a SIGTERM daemon kill removing the pid file
13exim -d -DSERVER=server -bd -oX PORT_D -oP DIR/spool/mypidfile
14****
15sleep 1
01446a56 16sudo perl
2f2dd3a5
JH
17system "ls DIR/spool | grep pid";
18print "\n";
01446a56
JH
19open(IN, "<", "DIR/spool/mypidfile");
20while (<IN>) { kill "TERM", $_; }
21****
22sleep 1
23ls DIR/spool
24#