Answer the question
In order to leave comments, you need to log in
What is the difference between supervisorctl reread and update?
Hello. Can you please explain what is the difference between these commands?
I updated the worker code (added several functions), do I still need to restart (I didn’t update the config)? And in what cases can they be used? I read it, but I still can't figure it out. Thank you.
Answer the question
In order to leave comments, you need to log in
This command only updates the changes. It does not restart any of the managed applications, even if their configuration has changed. New application configurations cannot be started, neither. (See the “update” command below)
Restarts the applications whose configuration has changed.
Note: After the update command, new application configurations becomes available to start, but do not start automatically until the supervisor service restarts or system reboots (even if autostart option is not disabled). In order to start new application, eg app2, simply use the following command:
// EDIT
Well, let's chew.)
We changed the code of the workers - restart.
Changed the configuration (number of processes, logs, etc.) - reread (gives the supervisor information that the config has changed) + update (restart only those workers for which the configuration has changed).
If you have any questions - write more.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question