sig2srv

sig2srv converts incoming signals into suitable service(8) commands.


Keywords
sig2srv
License
MIT
Install
pip install sig2srv==0.1.1

Documentation

sig2srv

Documentation Status Updates

sig2srv converts incoming signals into suitable service(8) commands.

Features

  • Turns SIGTERM into "service XYZ stop" commands.
  • Turns SIGHUP into "service XYZ restart" commands.
  • Runs "service XYZ status" periodically and exits with a nonzero status if the service is no longer seen as running, i.e. the status command returns a nonzero status.

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.