Deploying node.

This commit is contained in:
Samuel Clay 2019-04-13 19:48:17 -04:00
parent 729725b09c
commit fb51c29fe2
2 changed files with 2 additions and 1 deletions

View file

@ -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
View file

@ -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()