Skip to content

stop

Stop the running agent instance

Terminal window
conhive-agent stop

Gracefully stops the currently running Conhive backend agent process and all its active modules. This command attempts to cleanly shut down operations, halting data collection, backend communications, and other agent activities. It typically finds the running agent process and signals it to terminate.

Terminal window
conhive-agent stop [flags]
Terminal window
-h, --help help for stop
-f, --log-format string Specify the logging format (options: console,
json) (default "text")
-l, --log-level string Define the logging level (options: trace,
debug, info, warn, error, fatal, panic)
(default "info")
-o, --log-to-file Enable logging to a file (default true)
-p, --port int32 Port to run the server on (default 5050)
-w, --workdir string Set the working directory for agent operations
(default: $HOME/.conhive)