Skip to content

Commit

Permalink
Merge pull request #10 from neighborhoods/feature/OPS-981
Browse files Browse the repository at this point in the history
OPS-981 | Shutdown the server when receiving SIGUSR1 from logrotate
  • Loading branch information
alexberryman committed Jul 11, 2018
2 parents 1e53c6b + 9f44346 commit fb20306
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 fb20306

Please sign in to comment.