gwift-book/source/part-2-deployment
Fred 739c7e7dc0
continuous-integration/drone/push Build is passing Details
Redémarrage gracieux du process master de gunicorn
`pc -C gunicorn` only lists the processes with `gunicorn` command, i.e., workers and master process. Workers are children of master as can be seen using `ps -C gunicorn fc -o ppid,pid,cmd`. We only need the pid of the master, therefore h flag is used to remove the first line which is PID text. Note that, f flag assures that master is printed above workers.

The correct procedure is to send `HUP` signal only to the master. In this way `gunicorn` is gracefully restarted, only the workers, not master, are recreated.
2020-12-28 12:46:42 +01:00
..
_main.adoc Move files and folder for coherence 2020-12-27 19:35:26 +01:00
debian.adoc Redémarrage gracieux du process master de gunicorn 2020-12-28 12:46:42 +01:00
docker.adoc Add a lot about Heroku 2020-12-21 21:26:39 +01:00
heroku.adoc Move files and folder for coherence 2020-12-27 19:35:26 +01:00