Applicable if installed using yum
Run this command
ps -p 1
If output is something like this :
1 ? 00:00:00 init
Then run following command :
chkconfig --add elasticsearch
Otherwise run following command :
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable elasticsearch.service
No comments:
Post a Comment
Note: only a member of this blog may post a comment.