Respond to signals
PHP 7.2 allows for scripts to wake from sleep in response to signals. It would be advisable, therefore, to have the daemon wake up in response the SIGHUP and SIGKILL and friends and act accordingly.
Deleting a branch is permanent. It CANNOT be undone. Continue?