Mailing List Archive

[svn] r1714 - in rt/branches/3.3-TESTING: . bin
Author: jesse
Date: Thu Nov 4 23:02:06 2004
New Revision: 1714

Modified:
rt/branches/3.3-TESTING/ (props changed)
rt/branches/3.3-TESTING/bin/standalone_httpd.in
Log:
r6173@tinbook: jesse | 2004-11-05T02:14:56.442006Z
Added a HUP handler for the standalone httpd (so you can kill -HUP it to reload)



Modified: rt/branches/3.3-TESTING/bin/standalone_httpd.in
==============================================================================
--- rt/branches/3.3-TESTING/bin/standalone_httpd.in (original)
+++ rt/branches/3.3-TESTING/bin/standalone_httpd.in Thu Nov 4 23:02:06 2004
@@ -56,6 +56,7 @@
use Socket;

$SIG{CHLD} = "IGNORE"; # reap child processes
+$SIG{HUP} = sub { exec($^X, $0, @ARGV) };


RT::Init();
_______________________________________________
Rt-commit mailing list
Rt-commit@lists.bestpractical.com
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-commit