diff --git a/docs/reference/setup/repositories.asciidoc b/docs/reference/setup/repositories.asciidoc index 3b56dff6e1f..43d908659a4 100644 --- a/docs/reference/setup/repositories.asciidoc +++ b/docs/reference/setup/repositories.asciidoc @@ -66,3 +66,19 @@ And your repository is ready for use. You can install it with : -------------------------------------------------- yum install elasticsearch -------------------------------------------------- + +Configure Elasticsearch to automatically start during bootup. If your +distribution is using SysV, then you will need to run : + +[source,sh] +-------------------------------------------------- +chkconfig --add elasticsearch +-------------------------------------------------- + +Otherwise if your distribution is using systemd : + +[source,sh] +-------------------------------------------------- +sudo /bin/systemctl daemon-reload +sudo /bin/systemctl enable elasticsearch.service +--------------------------------------------------