From f6139ceab4e0d49f8d49f29d46f37e393052fec0 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:42:31 -0700 Subject: [PATCH] [v9.5.x] Update bind-net-capabilities.md (#72918) 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 2b5b2f4d2f6..54f5fb9667f 100644 --- a/docs/sources/shared/systemd/bind-net-capabilities.md +++ b/docs/sources/shared/systemd/bind-net-capabilities.md @@ -8,7 +8,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.