Browse Source

update app_monitor.sh

master
zhaohe 2 years ago
parent
commit
4e5069c929
  1. 3
      env/app_monitor.sh

3
env/app_monitor.sh

@ -8,7 +8,8 @@ while true; do
if [ $? -ne 0 ]; then
echo "app.out is not running, restart it"
cd /app
./app.sh
./app.sh &
sleep 3
fi
sleep 1
done

Loading…
Cancel
Save