| 1234567891011121314151617181920 | ==== Running Elasticsearch with SysV `init`Use the `update-rc.d` command to configure Elasticsearch to start automaticallywhen the system boots up:[source,sh]--------------------------------------------------sudo update-rc.d elasticsearch defaults 95 10--------------------------------------------------Elasticsearch can be started and stopped using the `service` command:[source,sh]--------------------------------------------sudo -i service elasticsearch startsudo -i service elasticsearch stop--------------------------------------------If Elasticsearch fails to start for any reason, it will print the reason forfailure to STDOUT. Log files can be found in `/var/log/elasticsearch/`.
 |