stop#
Stop openYuanrong processes in the current session.
Usage#
yr stop [OPTIONS]
Parameters#
--force: Force stop, usingSIGKILL.-f, --file SESSION_FILE: Specify the session file path (defaults to/tmp/yr_sessions/latest/session.json).
Description#
Default behavior: Send
SIGTERMto the daemon, which then executes the graceful shutdown process for components.--forcebehavior: FirstSIGKILLthe daemon, then forcibly stop component PIDs based on the session file.If the session file does not exist or is invalid, the command will return failure.
Examples#
yr stop
yr stop --force
yr stop -f /tmp/yr_sessions/20260209_020054/session.json