aboutsummaryrefslogtreecommitdiffstats
path: root/watcher.sh
diff options
context:
space:
mode:
Diffstat (limited to 'watcher.sh')
-rwxr-xr-xwatcher.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/watcher.sh b/watcher.sh
index 74451bf6..b900a50c 100755
--- a/watcher.sh
+++ b/watcher.sh
@@ -12,6 +12,7 @@ do
if "$low"; then
echo "Balance below threshold, shutting down"
yarn pm2 stop 0 > /dev/null
+ cd /root/mailgun && node index.js
exit
fi
sleep 10