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
}
}
}
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.