updated sample config

This commit is contained in:
Daniel Sommer 2022-03-18 16:05:29 +01:00
parent b42f8c5612
commit 01875bc0b3

View file

@ -14,11 +14,11 @@
"command": "tail", "command": "tail",
"args": [ "args": [
"-f", "-f",
"/tmp/test" "/tmp/example"
], ],
"options": { "options": {
"detach": true, "detach": true,
"unique": "toggle" "unique": true
} }
}, },
{ {
@ -28,30 +28,30 @@
"args": [] "args": []
}, },
{ {
"url": "/systemctl/docker", "url": "/systemctl/example",
"method": "get", "method": "get",
"command": "systemctl", "command": "systemctl",
"args": [ "args": [
"is-active", "is-active",
"code-server@velvettear" "example"
] ]
}, },
{ {
"url": "/systemctl/docker/start", "url": "/systemctl/example/start",
"method": "post", "method": "post",
"command": "systemctl", "command": "systemctl",
"args": [ "args": [
"start", "start",
"code-server@velvettear" "example"
] ]
}, },
{ {
"url": "/systemctl/docker/stop", "url": "/systemctl/example/stop",
"method": "post", "method": "post",
"command": "systemctl", "command": "systemctl",
"args": [ "args": [
"stop", "stop",
"code-server@velvettear" "example"
] ]
} }
] ]