2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 01:22:00 +00:00

Add CAP_NET_BIND_SERVICE to unit file

This is preparing for running as non-root.

We need this capability to snoop SLP and PXE
This commit is contained in:
Jarrod Johnson 2020-01-31 09:34:13 -05:00
parent 7a63ca8759
commit 968efe719a

View File

@ -8,6 +8,7 @@ Type=forking
ExecStart=/opt/confluent/bin/confluent
ExecStop=/opt/confluent/bin/confetty shutdown /
Restart=on-failure
AmbientCapabilities=CAP_NET_BIND_SERVICE
[Install]
WantedBy=multi-user.target