
# Because the auto-reset.sh script uses the watchdog, it can't be stopped without a reboot
# So, start/stop options do not make sense

APP_HOME=/barix/apps/epic-sip

cd $APP_HOME
ps aux > ps.tmp
if grep auto-reset.sh ps.tmp; then
    echo "auto-reset.sh is already running"
else
    ./auto-reset.sh &
fi
rm -f ps.tmp
