Supervisor / supervisor

Supervisor process control system for Unix (supervisord)
http://supervisord.org
Other
8.33k stars 1.23k forks source link

Unwanted restart when modifying config #1637

Closed mrx23dot closed 3 months ago

mrx23dot commented 3 months ago

I have an existing simple entry

[program:test]
command=..

on the next app error I didn't want to restart it, so I would have a chance to check stderr of real cause, (since next start would override stderr)

so I added

autorestart=false
then
sudo supervisorctl update

but this restarted the program! uptime 0:00:03

I don't think this restart is wanted. Programs can be part of critical infrastructure, and we should be able to modify parameters without affecting current instance. (maybe if command changed then it would justified, but even then it's questionable)

mnaberez commented 3 months ago

Duplicate of #214