PHPDaemon\Thread\IPC::sigusr1 PHP Method

sigusr1() public method

Handler of the SIGUSR1 (re-open log-file) signal in worker process.
public sigusr1 ( ) : void
return void
    public function sigusr1()
    {
        if (Daemon::$config->logsignals->value) {
            $this->log('caught SIGUSR1 (re-open log-file).');
        }
        Daemon::openLogs();
    }