mirror of
https://github.com/viq/NewsBlur.git
synced 2025-09-18 21:43:31 +00:00
Adding production log settings.
This commit is contained in:
parent
a3025a2df7
commit
37a5476cd5
2 changed files with 4 additions and 0 deletions
|
@ -7,4 +7,6 @@ def numCPUs():
|
|||
|
||||
bind = "127.0.0.1:8000"
|
||||
pidfile = "/tmp/gunicorn_newsblur.pid"
|
||||
logfile = "/home/conesus/newsblur/logs/production.log"
|
||||
loglevel = "debug"
|
||||
workers = numCPUs() #* 2 + 1
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
#!/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
|
||||
sudo /etc/init.d/gunicorn restart
|
||||
echo '----\n'
|
||||
tail -f /home/conesus/newsblur/logs/newsblur.log
|
Loading…
Add table
Reference in a new issue