Daemonize the worker.
This commit is contained in:
parent
2fcd8df42b
commit
607bf3ecc4
4 changed files with 47 additions and 11 deletions
10
README.md
10
README.md
|
@ -31,3 +31,13 @@ start the workers:
|
|||
```
|
||||
python -m workers.diffsworker -D
|
||||
```
|
||||
|
||||
bouncing the servers:
|
||||
|
||||
```
|
||||
sudo kill -HUP <pid of nginx>
|
||||
kill -HUP <pid of gunicorn>
|
||||
|
||||
kill <pids of worker daemons>
|
||||
restart daemons
|
||||
```
|
||||
|
|
Reference in a new issue