http-signal-proxy is the tiny process that proxies the signal received at http to the backend process.
See https://github.com/s4ichi/http-signal/releases to install binary.
You can use following options.
$ ./http-signal --help
Usage:
http-signal [OPTIONS]
Application Options:
-c, --command= Destination command to proxying signals
-p, --port= Port number to listen http
-f, --prefix= Prefix path of url to listen http (default: /http-signal)
Help Options:
-h, --help Show this help message
Now, http-signal supports INT, TERM, HUP, QUIT, WINTH, USR1, USR2, TTIN, TTOU
.
You can request with http (e.g., http://<YOUR_HOSTNAME>:<PORT>/<PREFIX>/sigint
)
$ make setup
MIT
Takamasa Saichi