SearXNG quadlet: use AddCapability= (the generator rejects CapAdd=)

The podman quadlet generator fails with "unsupported key 'CapAdd' in group
'Container'" and skips the whole unit. The correct key is AddCapability=
(maps to podman --cap-add). Update the gluetun unit and its test seam.
This commit is contained in:
Frank committed 2026-08-18 23:57:25 -07:00
1 parent d7c66b0253
commit e036296fd1
2 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -17,7 +17,7 @@ After=searxng-network.service network.target
ContainerName=gluetun
Network=searxng.network
Image=docker.io/qmcgaw/gluetun:latest
CapAdd=NET_ADMIN
AddCapability=NET_ADMIN
Device=/dev/net/tun:/dev/net/tun
Environment=VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
Environment=VPN_TYPE=${VPN_TYPE}