PHPDaemon\Thread\IPC::sigterm PHP Method

sigterm() protected method

Handler of the SIGTERM (graceful shutdown) signal in worker process.
protected sigterm ( ) : void
return void
    protected function sigterm()
    {
        if (Daemon::$config->logsignals->value) {
            $this->log('caught SIGTERM.');
        }
        $this->shutdown();
    }