X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=update_daemon2.php;fp=update_daemon2.php;h=9d948a64d3c5cdea2e19cea5e1fcfa8d9f04c5ae;hb=642432fc39956e92b599f204d64e0b365f36edf2;hp=d5b6a45e36b0cf35fa088f875840382077d2544e;hpb=8ff2a86cf33ed573602a4c6abf8ed8e4ee7c45f9;p=tt-rss.git diff --git a/update_daemon2.php b/update_daemon2.php index d5b6a45e..9d948a64 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; }