From fb51c29fe2138844f07ce516d55e628be711b756 Mon Sep 17 00:00:00 2001 From: Samuel Clay Date: Sat, 13 Apr 2019 19:48:17 -0400 Subject: [PATCH] Deploying node. --- config/monit_node.conf | 2 +- fabfile.py | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/config/monit_node.conf b/config/monit_node.conf index 5a66672a1..6d79d77af 100644 --- a/config/monit_node.conf +++ b/config/monit_node.conf @@ -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 diff --git a/fabfile.py b/fabfile.py index 537fa5bb8..958befc9c 100644 --- a/fabfile.py +++ b/fabfile.py @@ -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()