protected function sigterm() { if (Daemon::$config->logsignals->value) { $this->log('caught SIGTERM.'); } $this->shutdown(); }