Skip to content

[DOCS] Set explicit anchor for "SysV init vs systemd" section #42525

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
May 28, 2019
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/reference/setup/install/deb.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,8 @@ sudo dpkg -i elasticsearch-{version}.deb

endif::[]

:int-context: deb
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you do :init-context: instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added with c161040. Thanks!


include::init-systemd.asciidoc[]

[[deb-running-init]]
Expand Down
1 change: 1 addition & 0 deletions docs/reference/setup/install/init-systemd.asciidoc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
[[{int-context}-sysv-init-vs-systemd]]
==== SysV `init` vs `systemd`

Elasticsearch is not started automatically after installation. How to start
Expand Down
2 changes: 2 additions & 0 deletions docs/reference/setup/install/rpm.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,8 @@ endif::[]

include::skip-set-kernel-parameters.asciidoc[]

:int-context: rpm

include::init-systemd.asciidoc[]

[[rpm-running-init]]
Expand Down