From 1103d842d523b76a2109d39c3945b81874796f76 Mon Sep 17 00:00:00 2001 From: weeihan Date: Tue, 28 Jul 2026 16:26:58 +0800 Subject: [PATCH] fix(deploy): use sudo for systemctl restart ims --- deploy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 66e1766..dd1eaf3 100755 --- a/deploy.sh +++ b/deploy.sh @@ -17,6 +17,6 @@ echo "==> Syncing to VPS..." rsync -az --delete --exclude='.env' -e "ssh -p ${VPS_SSH_PORT}" .next/standalone/ "$VPS:$REMOTE_DIR/" echo "==> Restarting service on VPS..." -ssh -p "${VPS_SSH_PORT}" "$VPS" "systemctl restart ims" +ssh -p "${VPS_SSH_PORT}" "$VPS" "sudo systemctl restart ims" echo "==> Done. https://ims.setia.com.my/"