Files
2025-04-24 02:07:47 +00:00

12 lines
207 B
Bash
Executable File

#!/bin/bash
CURL='/usr/bin/curl'
URL='https://verify.rest/ping'
RESP="$($CURL $CURLARGS $URL)"
if [ $RESP = "Pong" ]
then
echo "Application is running"
else
cd /home/verify/public_html && make start
fi