Docs: Add instructions to start elasticsearch on bootup on RHEL/Fedora.

This commit is contained in:
Adrien Grand 2014-12-05 11:14:13 +01:00
parent 0a09f1ea13
commit 344bbf2ced
1 changed files with 16 additions and 0 deletions

View File

@ -66,3 +66,19 @@ And your repository is ready for use. You can install it with :
-------------------------------------------------- --------------------------------------------------
yum install elasticsearch 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
--------------------------------------------------