Http server written in golang to execute some command
LOG_LEVEL (debug|info|warn|error|fatal)
PORT (default 8891)
FILE_CONFIGURATION (default ./configuration.json)
[
{
"url": "/change/opt1",
"command": "/opt/opt1.sh",
"args": "args1 args2"
},
{
"url": "/change/opt2",
"command": "/opt/opt2.sh"
}
]