squadron disengage
Stop a running Squadron daemon and remove its system service.
Usage
squadron disengage [flags]Must be run from the same directory you engaged from.
disengagefinds the running daemon by reading<project>/.squadron/engage.pid— so if you’re in a different directory, eithercdback or pass-c /path/to/project.
Flags
| Flag | Description |
|---|---|
-c, --config | Path to the project directory (default: .) |
What it does
- Reads the PID file at
<project>/.squadron/engage.pid. - Sends
SIGTERMto the running Squadron process and waits up to 10 seconds for graceful shutdown (falls back toSIGKILL). - Removes the system service (launchd plist or systemd user unit) so it no longer starts on boot.
- Cleans up the PID file.
If nothing is running and no system service exists, prints Squadron is not running.
Per-Project
Each Squadron project tracks its own daemon via <project>/.squadron/engage.pid. To stop a daemon running in a different project, pass -c with the project path:
squadron disengage -c /path/to/other-projectSee Also
- engage — Start the daemon
Last updated on