X-Git-Url: http://dolda2000.com/gitweb/?a=blobdiff_plain;f=examples%2Fpython%2Fdynhosts%2Fdynhosts;h=9a69a7059023df1cbeceb6f704dd0a838645a333;hb=9d6b46568635a6cbf151790e5fd760d2a86049a2;hp=fae28c8228ed279344b7d40e802531cbc0d385c8;hpb=7f8383098e49588529e3a203ed6d7bb2f27aef5c;p=ashd.git diff --git a/examples/python/dynhosts/dynhosts b/examples/python/dynhosts/dynhosts index fae28c8..9a69a70 100755 --- a/examples/python/dynhosts/dynhosts +++ b/examples/python/dynhosts/dynhosts @@ -5,6 +5,8 @@ from ashd import util children = {} root = sys.argv[1] + +# Automatically reap all children that die for any reason. signal.signal(signal.SIGCHLD, signal.SIG_IGN) def serve(req):