Update serv00.sh

This commit is contained in:
甬哥侃侃侃ygkkk
2025-02-25 23:24:30 +08:00
committed by GitHub
parent 8afd7b5e23
commit f7ad9eb035
+1
View File
@@ -1241,6 +1241,7 @@ snb=$(hostname | awk -F '.' '{print $1}')
declare -f resallport >> webport.sh
declare -f check_port >> webport.sh
echo 'resallport' >> webport.sh
chmod +x webport.sh
#if ! crontab -l 2>/dev/null | grep -q 'serv00keep'; then
#if [ -f "$WORKDIR/boot.log" ] || grep -q "trycloudflare.com" "$WORKDIR/boot.log" 2>/dev/null; then
#check_process="! ps aux | grep '[c]onfig' > /dev/null || ! ps aux | grep [l]ocalhost > /dev/null"