tiny process that proxies the signal received at http to the backend process.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.circleci
.gitignore
Gopkg.lock
Gopkg.toml
LICENSE
Makefile
README.md
command.go
command_test.go
httpd.go
main.go
signal.go

README.md

http-signal-proxy

CircleCI

http-signal-proxy is the tiny process that proxies the signal received at http to the backend process.

Installation

See https://github.com/s4ichi/http-signal/releases to install binary.

Usage

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

Signals

Now, http-signal supports INT, TERM, HUP, QUIT, WINTH, USR1, USR2, TTIN, TTOU.

Endpoints

You can request with http (e.g., http://<YOUR_HOSTNAME>:<PORT>/<PREFIX>/sigint)

Setup

$ make setup

License

MIT

Author

Takamasa Saichi