mirror of
https://github.com/samuelclay/NewsBlur.git
synced 2025-04-13 09:42:01 +00:00
Deploying node.
This commit is contained in:
parent
729725b09c
commit
fb51c29fe2
2 changed files with 2 additions and 1 deletions
|
@ -12,7 +12,7 @@ check file node-newsblur.log with path /srv/newsblur/logs/unread_counts.log
|
|||
# as uid sclay and gid sclay
|
||||
|
||||
# If no real-time updates in last 10 minutes, something is wrong
|
||||
check file node-newsblur.log with path /srv/newsblur/logs/text_server.log
|
||||
check file node-text.log with path /srv/newsblur/logs/original_text.log
|
||||
if timestamp > 10 minutes then exec "/srv/newsblur/utils/kill_node.sh"
|
||||
# as uid sclay and gid sclay
|
||||
|
||||
|
|
1
fabfile.py
vendored
1
fabfile.py
vendored
|
@ -1636,6 +1636,7 @@ def deploy_node():
|
|||
run('sudo supervisorctl restart node_unread')
|
||||
run('sudo supervisorctl restart node_unread_ssl')
|
||||
run('sudo supervisorctl restart node_favicons')
|
||||
run('sudo supervisorctl restart node_text')
|
||||
|
||||
def gunicorn_restart():
|
||||
restart_gunicorn()
|
||||
|
|
Loading…
Add table
Reference in a new issue