Add service status for scheduler
Add a default user
This commit is contained in:
@ -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
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
|
||||
declare -a services=(
|
||||
"hysteria-server.service"
|
||||
"hysteria-scheduler.service"
|
||||
"hysteria-webpanel.service"
|
||||
"hysteria-caddy.service"
|
||||
"hysteria-telegram-bot.service"
|
||||
|
||||
Reference in New Issue
Block a user