Skip to content

Commit 64a989d

Browse files
committed
[DOCS] Set explicit anchor for "SysV init vs systemd" section (#42525)
1 parent 686afc6 commit 64a989d

File tree

3 files changed

+5
-0
lines changed

3 files changed

+5
-0
lines changed

docs/reference/setup/install/deb.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,8 @@ sudo dpkg -i elasticsearch-{version}.deb
128128

129129
endif::[]
130130

131+
:init-context: deb
132+
131133
include::init-systemd.asciidoc[]
132134

133135
[[deb-running-init]]

docs/reference/setup/install/init-systemd.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
[[{init-context}-sysv-init-vs-systemd]]
12
==== SysV `init` vs `systemd`
23

34
Elasticsearch is not started automatically after installation. How to start

docs/reference/setup/install/rpm.asciidoc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,8 @@ endif::[]
115115

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

118+
:init-context: rpm
119+
118120
include::init-systemd.asciidoc[]
119121

120122
[[rpm-running-init]]

0 commit comments

Comments
 (0)