node stop
[Preview]
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
Learn More:
Use 'ockam
Feedback:
If you have questions, as you explore, join us on the contributors discord channel https://discord.ockam.io