From 7b2cc94a30033550b623e915524c27e21742254d Mon Sep 17 00:00:00 2001 From: ReturnFI <151555003+ReturnFI@users.noreply.github.com> Date: Sun, 14 Dec 2025 20:55:21 +0000 Subject: [PATCH] fix(scheduler): suppress output for systemctl commands in scheduler setup --- core/scripts/scheduler.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/core/scripts/scheduler.sh b/core/scripts/scheduler.sh index ae1eeca..9f8205b 100644 --- a/core/scripts/scheduler.sh +++ b/core/scripts/scheduler.sh @@ -24,9 +24,9 @@ SyslogIdentifier=hysteria-scheduler WantedBy=multi-user.target EOF - systemctl daemon-reload - systemctl enable hysteria-scheduler.service - systemctl start hysteria-scheduler.service + systemctl daemon-reload >/dev/null 2>&1 + systemctl enable hysteria-scheduler.service >/dev/null 2>&1 + systemctl start hysteria-scheduler.service >/dev/null 2>&1 (crontab -l | grep -v "hysteria2_venv.*traffic-status" | grep -v "hysteria2_venv.*backup-hysteria") | crontab - } @@ -60,9 +60,9 @@ SyslogIdentifier=hysteria-Auth WantedBy=multi-user.target EOF - systemctl daemon-reload - systemctl enable hysteria-auth.service - systemctl start hysteria-auth.service + systemctl daemon-reload >/dev/null 2>&1 + systemctl enable hysteria-auth.service >/dev/null 2>&1 + systemctl start hysteria-auth.service >/dev/null 2>&1 } check_auth_server_service() {