seregazhuk / php-watcher

Monitor for any changes in your php application and automatically restart it (suitable for async apps).
https://sergeyzhuk.me/2019/10/18/php-watcher/
388 stars 30 forks source link

[BUG] Send termination signal to the process #23

Closed seregazhuk closed 4 years ago

seregazhuk commented 4 years ago

If the underlying script listens to POSIX signals, for example, to correctly shutdown (release tcp ports and etc) we need to explicitly send SIGTERM when restarting. Relates to #21

seregazhuk commented 4 years ago

Cannot reproduce