From: Tim Starling Date: Wed, 18 Mar 2009 02:30:02 +0000 (+0000) Subject: Allow children to respond to SIGTERM X-Git-Tag: 1.31.0-rc.0~42459 X-Git-Url: http://git.cyclocoop.org/%22.%24image2.%22?a=commitdiff_plain;h=0104dd55c9c6194b4cd24ee3bafa3a30efbfec9c;p=lhc%2Fweb%2Fwiklou.git Allow children to respond to SIGTERM --- diff --git a/includes/ForkController.php b/includes/ForkController.php index b5f1f18583..09e1788bae 100644 --- a/includes/ForkController.php +++ b/includes/ForkController.php @@ -151,6 +151,7 @@ class ForkController { global $wgMemc, $wgMainCacheType; $wgMemc = wfGetCache( $wgMainCacheType ); $this->children = null; + pcntl_signal( SIGTERM, SIG_DFL ); } protected function handleTermSignal( $signal ) {