Extend process execution definition
elmariofredo opened this issue · 0 comments
elmariofredo commented
Currently there is simple format to add new process
"processes": {
"web-1": "cd /some/dir;sudo http-server . -p 8081",
}
This is fine and it's good idea to keep definition simple, but to have config future proof, it would be great if monu can support also object as process definition.
"processes": {
"web-1": {
"command": "http-server . -p 8081",
"cwd": "/some/dir",
"sudo": true
}
}
I took exec options as inspiration.
I think this will open more possibilities for adding new processes using interactive form rather than editing config file, also it will make config file much more readable.
What do you think?