node stop
Preview
Preview features are available for use, but are still under rapid development.
There may be some minor gaps in functionality or documentation.
Your feedback on the enhancements you'd like to see on this feature are especially valuable, please send them through at https://github.com/build-trust/ockam/discussions/new
ockam node stop [OPTIONS] [NODE_NAME]
This command will a running node, killing the associated background process. This operation will keep the node state in the $OCKAM_HOME
directory, so it can be restarted with ockam node start
.
Arguments
[NODE_NAME]
(optional)
Name of the node
Options
-f
,--force
(optional)
[DEPRECATED] Whether to use the SIGTERM or SIGKILL signal to stop the node
Examples
# To stop the default node sending a SIGTERM signal
$ ockam node stop
# To stop the given node sending a SIGKILL signal
$ ockam node stop n --force