fixeria has uploaded this change for review. (
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(-)
git pull ssh://gerrit.osmocom.org:29418/erlang/osmo-s1gw refs/changes/54/40754/1
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]
--
To view, visit
https://gerrit.osmocom.org/c/erlang/osmo-s1gw/+/40754?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: erlang/osmo-s1gw
Gerrit-Branch: master
Gerrit-Change-Id: I84331740698d39511755189e35fdbd5c680b1983
Gerrit-Change-Number: 40754
Gerrit-PatchSet: 1
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>