git://git.exim.org
/
exim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Docs: subsections
[exim.git]
/
test
/
scripts
/
0000-Basic
/
0621
1
# daemon: re-exec on SIGHUP
2
exim -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.pid
3
****
4
millisleep 500
5
sudo perl
6
open(PID, "DIR/spool/exim-daemon.pid");
7
chomp($daemon_pid = <PID>);
8
close(PID);
9
system("kill -HUP $daemon_pid");
10
****
11
sleep 1
12
killdaemon