Skip to content

Commit

Permalink
[deb/rpm] remove sysv (#74424)
Browse files Browse the repository at this point in the history
Co-authored-by: Elastic Machine <[email protected]>
Co-authored-by: Kibana Machine <[email protected]>
  • Loading branch information
3 people authored Oct 29, 2020
1 parent 995111a commit 3ee6656
Show file tree
Hide file tree
Showing 9 changed files with 12 additions and 249 deletions.
10 changes: 10 additions & 0 deletions docs/migration/migrate_8_0.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -167,4 +167,14 @@ The `xpack.` prefix has been removed for all telemetry configurations.
*Impact:*
For any configurations beginning with `xpack.telemetry`, remove the `xpack` prefix. Use {kibana-ref}/telemetry-settings-kbn.html#telemetry-general-settings[`telemetry.enabled`] instead.

[float]
=== SysV init support has been removed

*Details:*
All supported operating systems support using systemd service files. Any system that doesn't already have service aliased to use kibana.service should use `systemctl start kibana.service` instead of the `service start kibana`.

*Impact:*
Any installations using `.deb` or `.rpm` packages using SysV will need to migrate to systemd.


// end::notable-breaking-changes[]
20 changes: 0 additions & 20 deletions docs/setup/install/deb-init.asciidoc

This file was deleted.

8 changes: 0 additions & 8 deletions docs/setup/install/deb.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -160,15 +160,7 @@ https://artifacts.elastic.co/downloads/kibana/kibana-oss-{version}-amd64.deb

endif::[]

==== SysV `init` vs `systemd`

include::init-systemd.asciidoc[]

[[deb-running-init]]
include::deb-init.asciidoc[]

[[deb-running-systemd]]

include::systemd.asciidoc[]

[[deb-configuring]]
Expand Down
20 changes: 0 additions & 20 deletions docs/setup/install/rpm-init.asciidoc

This file was deleted.

7 changes: 0 additions & 7 deletions docs/setup/install/rpm.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,6 @@ https://artifacts.elastic.co/downloads/kibana/kibana-oss-{version}-x86_64.rpm

endif::[]

==== SysV `init` vs `systemd`

include::init-systemd.asciidoc[]

[[rpm-running-init]]
include::rpm-init.asciidoc[]

[[rpm-running-systemd]]
include::systemd.asciidoc[]

Expand Down
21 changes: 2 additions & 19 deletions docs/setup/start-stop.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,8 @@ stop and start {kib} from the command line.
include::install/windows-running.asciidoc[]

[float]
[[start-stop-deb]]
=== Debian packages

include::install/init-systemd.asciidoc[]

[float]
include::install/deb-init.asciidoc[]

[float]
include::install/systemd.asciidoc[]

[float]
[[start-stop-rpm]]
=== RPM packages

include::install/init-systemd.asciidoc[]

[float]
include::install/rpm-init.asciidoc[]
[[start-stop-deb-rpm]]
=== Debian and RPM packages

[float]
include::install/systemd.asciidoc[]
Expand Down
1 change: 0 additions & 1 deletion src/dev/build/tasks/os_packages/run_fpm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,6 @@ export async function runFpm(
`${resolveWithTrailingSlash(fromBuild('data'))}=/var/lib/kibana/`,

// copy package configurations
`${resolveWithTrailingSlash(__dirname, 'service_templates/sysv/')}=/`,
`${resolveWithTrailingSlash(__dirname, 'service_templates/systemd/')}=/`,
];

Expand Down

This file was deleted.

0 comments on commit 3ee6656

Please sign in to comment.