1
0
Fork 0
mirror of https://github.com/postmannen/ctrl.git synced 2024-12-14 12:37:31 +00:00
ctrl/doc/example-messages/use-sed-to-edit-files.json
2022-03-11 11:44:19 +01:00

15 lines
No EOL
482 B
JSON

[
{
"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":"REQCliCommand",
"replyMethod":"REQToFile",
"ACKTimeout":10,
"retries":1,
"replyACKTimeout":10,
"replyRetries":3,
"methodTimeout": 60
}
]