Skip to content

Commit 0c43685

Browse files
committed
[DOCS] Set explicit anchor for "SysV init vs systemd" section (#42525)
1 parent 88cbd3b commit 0c43685

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
@@ -127,6 +127,8 @@ sudo dpkg -i elasticsearch-{version}.deb
127127

128128
endif::[]
129129

130+
:init-context: deb
131+
130132
include::init-systemd.asciidoc[]
131133

132134
[[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
@@ -114,6 +114,8 @@ endif::[]
114114

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

117+
:init-context: rpm
118+
117119
include::init-systemd.asciidoc[]
118120

119121
[[rpm-running-init]]

0 commit comments

Comments
 (0)