mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-08-05 16:58:59 +00:00
Merge branch 'master' of github.com:samuelclay/NewsBlur
Conflicts: gunicorn.py
This commit is contained in:
commit
d7898bdfe7
2 changed files with 1 additions and 2 deletions
|
@ -8,4 +8,3 @@ def numCPUs():
|
||||||
bind = "127.0.0.1:8000"
|
bind = "127.0.0.1:8000"
|
||||||
pidfile = "/tmp/gunicorn_newsblur.pid"
|
pidfile = "/tmp/gunicorn_newsblur.pid"
|
||||||
workers = numCPUs() * 2 + 1
|
workers = numCPUs() * 2 + 1
|
||||||
workers = 1
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
#ps aux | grep 8080 | egrep -v 'grep' | awk '{print $2}' | xargs kill; ./manage.py runfcgi method=threaded host=127.0.0.1 port=8080
|
#ps aux | grep 8080 | egrep -v 'grep' | awk '{print $2}' | xargs kill; ./manage.py runfcgi method=threaded host=127.0.0.1 port=8080
|
||||||
sudo /etc/init.d/gunicorn stop && sleep 1 && sudo /etc/init.d/gunicorn start &
|
sudo /etc/init.d/gunicorn restart
|
||||||
|
|
Loading…
Add table
Reference in a new issue