fix(quinn.admin-api/deploy): use run_remote_cmd for service restart
This commit is contained in:
parent
925b2a1923
commit
3c58e5fa70
1 changed files with 1 additions and 1 deletions
|
|
@ -95,7 +95,7 @@ run_remote_cmd "sudo grep -q '^ANALYTICS_COLLECTOR_URL=' /etc/quinn-admin-api/se
|
|||
|
||||
# ─── restart + smoke test ───────────────────────────────────────────────────
|
||||
echo "==> Restarting ${SERVICE_NAME}..."
|
||||
ssh "$REMOTE" "sudo systemctl restart ${SERVICE_NAME}"
|
||||
run_remote_cmd "sudo systemctl restart ${SERVICE_NAME}"
|
||||
sleep 2
|
||||
|
||||
echo "==> Smoke-testing public read endpoint..."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue