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 if [ $? -ne 0 ]; then
echo "app.out is not running, restart it" echo "app.out is not running, restart it"
cd /app cd /app
./app.sh
./app.sh &
sleep 3
fi fi
sleep 1 sleep 1
done done

Loading…
Cancel
Save