Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 990 Bytes

node-shutdown.md

File metadata and controls

5 lines (5 loc) · 990 Bytes
  • If the node was started with a process manager, stop the node by sending SIGTERM with the process manager. If the node is not shutting down after 1 minute, send SIGKILL. When using systemd, for example, set TimeoutStopSecs=60 in your configuration template and run systemctl stop <systemd config filename> to stop the node without systemd restarting it.
  • If the node was started using cockroach start and is running in the foreground, press ctrl-c in the terminal.
  • If the node was started using cockroach start and the --background and --pid-file flags, run kill <pid>, where <pid> is the process ID of the node.