astralblue / sig2srv

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

sig2srv

image

image

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.

About

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

License:MIT License


Languages

Language:Python 95.9%Language:Makefile 4.1%