fixeria has submitted this change. ( https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/40754?usp=email )
Change subject: systemd: add CAP_NET_ADMIN for running with GTPU KPI ......................................................................
systemd: add CAP_NET_ADMIN for running with GTPU KPI
Change-Id: I84331740698d39511755189e35fdbd5c680b1983 Related: SYS#7307 --- M contrib/systemd/osmo-s1gw.service 1 file changed, 2 insertions(+), 0 deletions(-)
Approvals: pespin: Looks good to me, but someone else must approve osmith: Looks good to me, approved Jenkins Builder: Verified
diff --git a/contrib/systemd/osmo-s1gw.service b/contrib/systemd/osmo-s1gw.service index f19354a..a265964 100644 --- a/contrib/systemd/osmo-s1gw.service +++ b/contrib/systemd/osmo-s1gw.service @@ -13,6 +13,8 @@ Environment="HOME=/var/lib/osmo-s1gw" Environment="ERL_FLAGS=-config /etc/osmocom/osmo-s1gw.config" ExecStart=/usr/bin/osmo-s1gw foreground +CapabilityBoundingSet=CAP_NET_ADMIN +AmbientCapabilities=CAP_NET_ADMIN RestartSec=2
[Install]