diff --git a/update_daemon2.php b/update_daemon2.php index d5b6a45e3..9d948a64d 100755 --- a/update_daemon2.php +++ b/update_daemon2.php @@ -203,6 +203,7 @@ if (!$master_handlers_installed) { _debug("[MASTER] installing shutdown handlers"); pcntl_signal(SIGINT, 'sigint_handler'); + pcntl_signal(SIGTERM, 'sigint_handler'); register_shutdown_function('shutdown', posix_getpid()); $master_handlers_installed = true; }