|
1 month ago | |
---|---|---|
.gitignore | 1 month ago | |
Makefile | 1 month ago | |
README.md | 1 month ago | |
config.example.json | 1 month ago | |
go.mod | 1 month ago | |
httpprocwatchd.service | 1 month ago | |
main.go | 1 month ago |
It is a process watcher that gives processes' statuses in a JSON format via HTTP GET request on /processes endpoint.
A JSON object looks like this: { "<process name>":<true|false>, ... }
.
A configuration file is in JSON format as well. There are two options:
listen_address
is a string that looks like "[<ip|host>]:<port>"
and an array
of process names.
An example configuration is stored in config.example.json
file.