summaryrefslogtreecommitdiff
path: root/scripts/Restart-PublishedServer.ps1
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/Restart-PublishedServer.ps1')
-rw-r--r--scripts/Restart-PublishedServer.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/Restart-PublishedServer.ps1 b/scripts/Restart-PublishedServer.ps1
index 58dd928..d4386f4 100644
--- a/scripts/Restart-PublishedServer.ps1
+++ b/scripts/Restart-PublishedServer.ps1
@@ -26,5 +26,5 @@ if ($StopOnly) { exit 0 }
if (-not (Test-Path -LiteralPath $agent) -or -not (Test-Path -LiteralPath $configuration)) {
throw 'Published agent-mcp executable or configuration is missing.'
}
-$started = Start-Process -FilePath $agent -ArgumentList @('serve', '--config', $configuration) -WorkingDirectory $bundle -WindowStyle Hidden -PassThru
+$started = Start-Process -FilePath $agent -ArgumentList @($configuration) -WorkingDirectory $bundle -WindowStyle Hidden -PassThru
Write-Output "Started published agent-mcp PID $($started.Id)."