Add service status for scheduler

Add a default user
This commit is contained in:
Whispering Wind
2025-05-15 23:50:09 +03:30
committed by GitHub
parent ec81500e85
commit cfd29c458d
2 changed files with 2 additions and 0 deletions

View File

@ -99,6 +99,7 @@ else
if systemctl is-active --quiet hysteria-server.service; then
echo "Installation and configuration complete."
python3 $CLI_PATH add-user --username default --traffic-limit 30 --expiration-days 30
else
echo -e "${red}Error:${NC} Hysteria2 service is not active. Please check the logs for more details."
fi