From b9bd803eb945994bdd48c88d1a0cd32916d49047 Mon Sep 17 00:00:00 2001 From: Mike Swanson Date: Sun, 18 Jan 2026 15:28:45 -0700 Subject: [PATCH] Add sudo to systemctl command in deploy.ps1 for passwordless restart --- deploy.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy.ps1 b/deploy.ps1 index 89b0a8b..ae83299 100644 --- a/deploy.ps1 +++ b/deploy.ps1 @@ -139,7 +139,7 @@ Write-Host "" # Step 7: Restart API service Write-Host "[7/9] Restarting API service..." -ForegroundColor Yellow -ssh $RMM_HOST "systemctl restart claudetools-api && sleep 3 && echo 'Service restarted'" +ssh $RMM_HOST "sudo systemctl restart claudetools-api && sleep 3 && echo 'Service restarted'" if ($LASTEXITCODE -ne 0) { Write-Host "[ERROR] Failed to restart service" -ForegroundColor Red exit 1