reticle stop reads the pid recorded for the port and stops that process.
Flags
How it stops
SIGTERMfirst, then poll every 100ms.- Still alive after 5 seconds:
SIGKILL. A daemon that ignoresSIGTERMis wedged, which is the one situation this command exists for, and giving up there left the port held and a human reaching forkill -9. - Still alive 2 seconds after that: report
reticle_daemon_stop_timeoutwith the pid and exit1. SurvivingSIGKILLmeans the pid is not yours to kill, or it is an unkillable zombie. Neither is retryable.
What it prints
Real capture, stopping a port with no live pid recorded for it. It exits
0, because “already not running” is the state you asked for:
--quiet that same run prints nothing at all and still exits 0.
Exit codes
When this is not enough
stop needs the pid Reticle recorded. If the pid file is stale, was never written, or the port is held by a daemon from another checkout, stop reports reticle_daemon_not_running about a port that is demonstrably occupied. reticle kill asks the port instead and is the command for that case.