Skip to content

Commit

Permalink
OPS-981 | Shutdown the server when receiving SIGUSR1 from logrotate
Browse files Browse the repository at this point in the history
  • Loading branch information
alexberryman committed Jul 10, 2018
1 parent 1e53c6b commit 9f44346
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/ProcessAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@ protected function _registerSignalHandlers(): ProcessInterface
$this->_getProcessSignal()->addSignalHandler(SIGHUP, $this);
$this->_getProcessSignal()->addSignalHandler(SIGQUIT, $this);
$this->_getProcessSignal()->addSignalHandler(SIGABRT, $this);
$this->_getProcessSignal()->addSignalHandler(SIGUSR1, $this);

return $this;
}
Expand Down Expand Up @@ -272,4 +273,4 @@ protected function _getUuidMaximumInteger(): int
{
return $this->_read(self::PROP_UUID_MAXIMUM_INTEGER);
}
}
}

0 comments on commit 9f44346

Please sign in to comment.