Skip to content

Commit

Permalink
Document root user usage in installation
Browse files Browse the repository at this point in the history
The installation documentation currently implies that all commands are
being prompted by the root user or an user with root-like privileges.
This is now explicitly stated and, additionally, another if-guard was
added to not include the "Add Icinga Package Repository" section for
Windows, as it does not fit there.

Closes #9959.
  • Loading branch information
oxzi committed Jan 8, 2024
1 parent 2c9117b commit 4f24d55
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion doc/02-installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,16 @@ In case you are upgrading an existing setup, please ensure to
follow the [upgrade documentation](16-upgrading-icinga-2.md#upgrading-icinga-2).
<!-- {% else %} -->

<!-- {% if not windows %} -->
## Add Icinga Package Repository <a id="add-icinga-package-repository"></a>

We recommend using our official repositories. Here's how to add it to your system:
We recommend using our official repositories.

All the following commands should be executed as the root user.
As pipes and nested commands are used, it is recommended to switch to a root user session, e.g., using `sudo -i`.

Here's how to add it to your system:
<!-- {% endif %} -->

<!-- {% if debian %} -->

Expand Down

0 comments on commit 4f24d55

Please sign in to comment.