Start service in low port whitout root

 

Locate the systemd file of that service:

pico /usr/lib/systemd/system/grafana-server


Add this 2 lines at service


[Service]


AmbientCapabilities = CAP_NET_BIND_SERVICE
CapabilityBoundingSet = CAP_NET_BIND_SERVICE

Run:
systemctl daemon-reload 


Restart service

Resolvendo erro “Key is stored in legacy trusted.gpg”

  1. Introdução No Ubuntu por padrão, para quem usa PPA’s, normalmente há uma sequencia de comandos para adicionar os repositórios não-ofi...

Mais vistos