1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2025-01-19 06:09:30 +00:00
ctrl/doc/example-messages/use-sed-to-edit-files.json

15 lines
474 B
JSON
Raw Permalink Normal View History

2022-03-11 11:44:19 +01:00
[
{
"directory":"system",
"fileName": "test.txt",
"toNodes": ["ship1","ship2"],
"methodArgs": ["bash","-c","sed -i 's/StartSubREQErrorLog =.*/StartSubREQErrorLog = false/g' /usr/local/steward/etc/config.toml && systemctl restart steward"],
"method":"cliCommand",
"replyMethod":"file",
2022-03-11 11:44:19 +01:00
"ACKTimeout":10,
"retries":1,
"replyACKTimeout":10,
"replyRetries":3,
"methodTimeout": 60
}
]