add auth service status

This commit is contained in:
Whispering Wind
2025-08-22 23:11:26 +03:30
committed by GitHub
parent 4d4e68b66f
commit eac9cfde75

View File

@ -3,6 +3,7 @@
declare -a services=(
"hysteria-server.service"
"hysteria-scheduler.service"
"hysteria-auth.service"
"hysteria-webpanel.service"
"hysteria-caddy.service"
"hysteria-telegram-bot.service"
@ -22,8 +23,6 @@ for service in "${services[@]}"; do
fi
done
# Remove trailing comma and close JSON properly
status_json="${status_json%,}}"
# Format output as valid JSON
echo "$status_json" | jq -M .