From a0caac001f051fd9fd65244b4f50c47f490768df Mon Sep 17 00:00:00 2001 From: Linghong Date: Tue, 14 Jul 2026 09:12:35 +0000 Subject: [PATCH] Clarify deploy script's final service-management hint The old one-liner printed `status|restart|stop|tail bgfilter`, which users pasted verbatim and the shell parsed the `|` as pipes. Split it into one copy-pasteable command per action. Co-Authored-By: Claude Opus 4.8 --- scripts/deploy_autodl.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/scripts/deploy_autodl.sh b/scripts/deploy_autodl.sh index 4ddb766..8a68b82 100755 --- a/scripts/deploy_autodl.sh +++ b/scripts/deploy_autodl.sh @@ -168,5 +168,8 @@ for _ in $(seq 1 40); do done "$SUPERVISORCTL" -c "$SUP_CONF" status || true echo -echo "[deploy] done. Manage the service with:" -echo " $SUPERVISORCTL -c $SUP_CONF status|restart|stop|tail bgfilter" +echo "[deploy] done. Manage the service (run ONE action at a time):" +echo " SUPCTL=\"$SUPERVISORCTL -c $SUP_CONF\"" +echo " \$SUPCTL status # show state" +echo " \$SUPCTL restart bgfilter # restart (also: start / stop)" +echo " \$SUPCTL tail -f bgfilter # follow logs"