refactor: enhance upgrade script with backup, color UI, service checks, and error handling

This commit is contained in:
Whispering Wind
2025-05-16 00:42:02 +03:30
committed by GitHub
parent cfd29c458d
commit 37aafa8c61
3 changed files with 114 additions and 108 deletions

View File

@ -38,7 +38,7 @@ EOF
check_scheduler_service() {
if systemctl is-active --quiet hysteria-scheduler.service; then
echo "Hysteria scheduler service is already active."
# echo "Hysteria scheduler service is already active."
return 0
else
return 1