git://git.exim.org
/
exim.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Logging: convert an internal element from static to allocated buffer
[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