Open marcbachmann opened 9 years ago
I'd like to disable the autostart for some processes. Maybe we can expose it in the config:
// config.json { "autostart": false, "logs": "./logs", "processes": { "redis": "redis-server", "postgres": "/usr/local/opt/postgresql/bin/postgres -D /usr/local/var/postgres", "mongodb": "/usr/local/bin/mongod --config /usr/local/etc/mongod.conf --auth" } }
A more flexible solution would be to use an object literal or array for the process definition.
// config.json { "logs": "./logs", "pids": "./pids", "processes": { "redis": { "command": "redis-server", "autostart": true } } }
if we change the JSON format we'd need to make sure the config we pass to mongroup matches what it expects. But I like the 2nd one
mongroup
+1 i like 2nd option
I'd like to disable the autostart for some processes. Maybe we can expose it in the config:
A more flexible solution would be to use an object literal or array for the process definition.