Skip to content

Commit

Permalink
napi: fix gw restart on crash...
Browse files Browse the repository at this point in the history
  • Loading branch information
baabeetaa committed Oct 19, 2023
1 parent 1782852 commit 8c75c19
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion notionalapi/gateway/run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,10 @@ EOT
cd $HOME

cat <<EOT > $HOME/start.sh
while true; do /root/go/bin/gateway start --conf=/root/gateway.yaml; done
while true; do
/root/go/bin/gateway start --conf=/root/gateway.yaml
sleep 5;
done
EOT

screen -S gateway -dm /bin/bash $HOME/start.sh
Expand Down

0 comments on commit 8c75c19

Please sign in to comment.