From 0d6e911fff4e10a0d220689c6a2132c9f7b0808d Mon Sep 17 00:00:00 2001 From: David Allen Date: Fri, 4 Aug 2023 09:37:13 -0400 Subject: [PATCH] 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. --- 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.