2022-02-02 17:07:16 +01:00
|
|
|
{
|
|
|
|
"server": {
|
|
|
|
"listen": "0.0.0.0",
|
2022-03-15 01:36:47 +01:00
|
|
|
"port": 3000
|
2022-02-02 17:07:16 +01:00
|
|
|
},
|
|
|
|
"log": {
|
2022-03-15 01:36:47 +01:00
|
|
|
"level": "debug",
|
|
|
|
"timestamp": "DD.MM.YYYY HH:mm:ss:SS"
|
2022-02-02 17:07:16 +01:00
|
|
|
},
|
|
|
|
"api": [
|
|
|
|
{
|
2022-03-17 16:51:36 +01:00
|
|
|
"url": "/tail",
|
2022-03-18 13:26:51 +01:00
|
|
|
"method": "get",
|
2022-03-17 16:51:36 +01:00
|
|
|
"command": "tail",
|
2022-02-02 17:07:16 +01:00
|
|
|
"args": [
|
2022-03-17 16:51:36 +01:00
|
|
|
"-f", "/tmp/test"
|
2022-02-02 17:07:16 +01:00
|
|
|
],
|
2022-03-17 16:51:36 +01:00
|
|
|
"detach": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"url": "/uptime",
|
2022-03-18 13:26:51 +01:00
|
|
|
"method": "get",
|
2022-03-17 16:51:36 +01:00
|
|
|
"command": "uptime",
|
|
|
|
"args": [
|
|
|
|
]
|
2022-02-02 17:07:16 +01:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|