From e9adc4f02029035f6b189f3e743e9376cb82b90d Mon Sep 17 00:00:00 2001 From: Tuan Pham Anh Date: Mon, 17 Jun 2024 17:24:01 +0700 Subject: [PATCH] notionalapi: update web --- notionalapi/web/run.sh | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/notionalapi/web/run.sh b/notionalapi/web/run.sh index 6d748e60..c836f24e 100644 --- a/notionalapi/web/run.sh +++ b/notionalapi/web/run.sh @@ -22,11 +22,21 @@ cd $HOME/notionalapi/web # create .env file wget "http://tasks.web_config/config/notionalapi.web.env" -O $HOME/notionalapi/web/.env - yarn && yarn build - screen -S server -dm yarn start +######################################################################################################################## +# deposit_watcher +cd $HOME/notionalapi/web + +screen -S server -dm yarn deposit_watcher + +######################################################################################################################## +# pool-spending +cd $HOME/notionalapi/web + +screen -S server -dm yarn pool-spending + # loop forever for debugging only while true; do sleep 5; done