68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"dateOfCreation": "1721381809122",
|
|
"processes": [
|
|
{
|
|
"name": "temp-process",
|
|
"path": "./temp-process",
|
|
"dependencies": {
|
|
"files": [
|
|
{
|
|
"filename": "dep-file",
|
|
"src": "./tests/examples/",
|
|
"triggers": {
|
|
"onDelete": "stop",
|
|
"onChange": "restart",
|
|
"doRestore": true
|
|
}
|
|
},
|
|
{
|
|
"filename": "none.json",
|
|
"src": "./tests/examples/",
|
|
"triggers": {
|
|
"onDelete": "stop",
|
|
"onChange": "restart",
|
|
"doRestore": false
|
|
}
|
|
},
|
|
{
|
|
"filename": "invalid_config.json",
|
|
"src": "./tests/examples/",
|
|
"triggers": {
|
|
"onDelete": "stop",
|
|
"onChange": "restart",
|
|
"doRestore": false
|
|
}
|
|
},
|
|
{
|
|
"filename": "save-conf.json",
|
|
"src": "./tests/examples/",
|
|
"triggers": {
|
|
"onDelete": "stop",
|
|
"onChange": "restart",
|
|
"doRestore": true
|
|
}
|
|
}
|
|
],
|
|
"services": [
|
|
{
|
|
"hostname": "ya.ru",
|
|
"port": 443,
|
|
"triggers": {
|
|
"wait": 2,
|
|
"onLost": "stop"
|
|
}
|
|
},
|
|
{
|
|
"hostname": "8.8.8.8",
|
|
"port": 443,
|
|
"triggers": {
|
|
"wait": 2,
|
|
"onLost": "stop"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|