cakephp-queuesadilla
cakephp-queuesadilla copied to clipboard
Gracefull restart
I have created a worker process with systemd. After every deployment the worker need to be restarted so the code changes can be reflected. Is there a possibility to send a kill signal to the worker that will let the current job finish and then stop the process so systemd can restart it?
There are some signals that cause the worker to gracefully exit. For example, you can send a SIGQUIT to the worker with kill -3
This should indeed be mentioned in the Documentation.