1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/wireguard_ynh.git synced 2024-09-03 20:35:58 +02:00

Fixes the wireguard_ui service to be able to display devices in the connected peers page

This commit is contained in:
Martin GRUDLER 2024-05-02 16:20:27 +02:00
parent 547d906b10
commit 6013e18a1b
No known key found for this signature in database

View file

@ -42,6 +42,10 @@ CapabilityBoundingSet=~CAP_MAC_ADMIN CAP_MAC_OVERRIDE
#CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW #CapabilityBoundingSet=~CAP_NET_ADMIN CAP_NET_BROADCAST CAP_NET_RAW
CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG CapabilityBoundingSet=~CAP_SYS_ADMIN CAP_SYS_PTRACE CAP_SYSLOG
# Allowing this capabilities to display devices in "Connected peers" page
CapabilityBoundingSet=CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW
AmbientCapabilities=CAP_DAC_READ_SEARCH CAP_NET_ADMIN CAP_NET_RAW
# Exception to ProtectSystem # Exception to ProtectSystem
ReadWritePaths=/etc/wireguard ReadWritePaths=/etc/wireguard