Open max-mapper opened 9 years ago
say you add a process with name 'foo' to config.json, start it, and then go to config.json and remove 'foo'.
now you are in a state where there is a foo.pid and foo.mon.pid, and the foo processes are likely running
foo.pid
foo.mon.pid
foo
IMO any PIDs that aren't referenced by 'config.json' should get SIGTERM'd and then deleted
I agree that you should sigterm any PIDs deferenced by config.json
say you add a process with name 'foo' to config.json, start it, and then go to config.json and remove 'foo'.
now you are in a state where there is a
foo.pid
andfoo.mon.pid
, and thefoo
processes are likely runningIMO any PIDs that aren't referenced by 'config.json' should get SIGTERM'd and then deleted