Tip for detecting init in docs

This commit adds a tip to the setup docs for how to detect whether the
user is running on a system that uses SysV-style init versus systemd.

Closes #16323
This commit is contained in:
LeeDr 2016-01-29 16:00:11 -06:00 committed by Jason Tedor
parent 105411060c
commit 001e1b4714
1 changed files with 2 additions and 2 deletions

View File

@ -109,7 +109,7 @@ yum install elasticsearch
--------------------------------------------------
Configure Elasticsearch to automatically start during bootup. If your
distribution is using SysV init, then you will need to run:
distribution is using SysV `init` (check with `ps -p 1`), then you will need to run:
WARNING: The repositories do not work with older rpm based distributions
that still use RPM v3, like CentOS5.
@ -119,7 +119,7 @@ WARNING: The repositories do not work with older rpm based distributions
chkconfig --add elasticsearch
--------------------------------------------------
Otherwise if your distribution is using systemd:
Otherwise if your distribution is using `systemd`:
[source,sh]
--------------------------------------------------