diff options
author | Jeremy Harris <jgh146exb@wizmail.org> | 2021-02-06 16:04:24 +0000 |
---|---|---|
committer | Jeremy Harris <jgh146exb@wizmail.org> | 2021-02-06 17:18:38 +0000 |
commit | beb5d85c7d378d48dda18a3ad8fab0599a75edc1 (patch) | |
tree | 728245c246bb5135806c9dad66ab8ac14a60ba33 /test/scripts | |
parent | 3bb1e9f161fd22707bc7cfcd77772422ac0fdd8e (diff) |
Fix daemon-SIGHUP on FreeBSD
Diffstat (limited to 'test/scripts')
-rw-r--r-- | test/scripts/0000-Basic/0621 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/scripts/0000-Basic/0621 b/test/scripts/0000-Basic/0621 new file mode 100644 index 000000000..589c0ac4e --- /dev/null +++ b/test/scripts/0000-Basic/0621 @@ -0,0 +1,12 @@ +# daemon: re-exec on SIGHUP +exim -DSERVER=server -bd -oX PORT_D -oP DIR/spool/exim-daemon.pid +**** +millisleep 500 +sudo perl +open(PID, "DIR/spool/exim-daemon.pid"); +chomp($daemon_pid = <PID>); +close(PID); +system("kill -HUP $daemon_pid"); +**** +sleep 1 +killdaemon |