aboutsummaryrefslogtreecommitdiffstats
path: root/watcher.sh
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2021-02-10 09:57:00 -0500
committerAdam Soltys <[email protected]>2021-02-10 09:57:00 -0500
commit9d4e7bee7d884fba7da27df7180390bad9a80bdc (patch)
treea99e8e112558f527eef9b98914bb52f52b0c07ee /watcher.sh
parente671baeb092ea6523027118bd1bba7bd85290823 (diff)
downloadcoinos-server-9d4e7bee7d884fba7da27df7180390bad9a80bdc.tar.gz
coinos-server-9d4e7bee7d884fba7da27df7180390bad9a80bdc.zip
amount from pay request should take precedence if provided
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