Refactor hysteria scheduler setup: consolidate functions and add automatic execution

This commit is contained in:
Whispering Wind
2025-05-16 12:10:00 +03:30
committed by GitHub
parent 8c43375519
commit b759f98620
2 changed files with 5 additions and 16 deletions

View File

@ -101,6 +101,8 @@ source "$HYSTERIA_INSTALL_DIR/core/scripts/scheduler.sh"
if ! check_scheduler_service; then
info "Installing Hysteria scheduler service..."
setup_hysteria_scheduler
else
error "Hysteria scheduler configuration failed critically. Upgrade cannot proceed."
fi
# ========== Restart Services ==========