Daemonize the worker.

This commit is contained in:
yackob03 2013-10-18 17:52:55 -04:00
parent 2fcd8df42b
commit 607bf3ecc4
4 changed files with 47 additions and 11 deletions

View file

@ -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
```