shut-down-node.asciidoc 568 B

1234567891011121314151617181920
  1. * If you are running {es} with `systemd`:
  2. +
  3. [source,sh]
  4. --------------------------------------------------
  5. sudo systemctl stop elasticsearch.service
  6. --------------------------------------------------
  7. * If you are running {es} with SysV `init`:
  8. +
  9. [source,sh]
  10. --------------------------------------------------
  11. sudo -i service elasticsearch stop
  12. --------------------------------------------------
  13. * If you are running {es} as a daemon:
  14. +
  15. [source,sh]
  16. --------------------------------------------------
  17. kill $(cat pid)
  18. --------------------------------------------------