congress/scripts/sample_process_config.json
Alexander Yip 5f0efea3f1 Add a script to start and monitor children processes
start_processes.py starts processes described in a config file.
start_processes.py will restart processes that die if configured with
restart_delay.

Change-Id: I9d41ddf615627dda9c67bea6f2a59298de17e605
2015-10-23 14:28:44 -07:00

18 lines
347 B
JSON

{
"datasource_drivers":
[
{ "cmd": "ls",
"args": ["-l"],
"restart_delay": 5,
"name": "foo"
},
{ "cmd": "watch",
"args": ["ls", "-l", "/tmp"],
"name": "bar"
}
],
"output_directory": "/tmp/runner",
"poll_interval_ms": 100
}