refactor: enhance upgrade script with backup, color UI, service checks, and error handling
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user