Stop a Running Ballerina Service
sf_stop_projectStops a Ballerina project process started by the deploy tool. Only processes launched during the current session can be stopped.
Instructions
Stops a 'bal run' process previously started by sf_deploy_project. Only PIDs tracked by this server (started via sf_deploy_project during the current session) can be stopped — for safety we won't kill arbitrary host PIDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pid | Yes | PID returned by sf_deploy_project. Only processes started by this server can be stopped. |