From 7232d6e9ff3e725a64cf39d82bf8ad8daa63abd6 Mon Sep 17 00:00:00 2001 From: "grafana-delivery-bot[bot]" <132647405+grafana-delivery-bot[bot]@users.noreply.github.com> Date: Fri, 4 Aug 2023 06:41:40 -0700 Subject: [PATCH] [v10.0.x] Update bind-net-capabilities.md (#72919) Update bind-net-capabilities.md (#65181) This doc fragment is included on multiple pages including this one: https://grafana.com/docs/grafana/latest/setup-grafana/installation/debian/ the only flaw is it's missing "sudo". Modern linux practice suggests using sudo for all administrative edits like this, and this change reinforces parallel structure in the target docs page. There may potentially be some other context this fragment is used in where sudo isn't appropriate, but this makes it easier to copy/paste the command and have it work on modern linuxes. (cherry picked from commit 0d6e911fff4e10a0d220689c6a2132c9f7b0808d) Co-authored-by: David Allen --- docs/sources/shared/systemd/bind-net-capabilities.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/sources/shared/systemd/bind-net-capabilities.md b/docs/sources/shared/systemd/bind-net-capabilities.md index c63d332a220..89a07a1cfbc 100644 --- a/docs/sources/shared/systemd/bind-net-capabilities.md +++ b/docs/sources/shared/systemd/bind-net-capabilities.md @@ -12,7 +12,7 @@ If you are using `systemd` and want to start Grafana on a port that is lower tha ```bash # Alternatively, create a file in /etc/systemd/system/grafana-server.service.d/override.conf - systemctl edit grafana-server.service + sudo systemctl edit grafana-server.service ``` 1. Add the following additional settings to grant the `CAP_NET_BIND_SERVICE` capability.