.goreleaser: add a new snap plug to bind to devices

Closes #2228.
This commit is contained in:
Ainar Garipov 2020-10-29 17:24:12 +03:00
parent da5c1ebbbf
commit a376bf915a

View file

@ -90,7 +90,13 @@ snapcrafts:
apps:
adguard-home:
command: AdGuardHome -w $SNAP_DATA --no-check-update
plugs: [ network-bind ]
plugs:
# Add the "netrwork-bind" plug to bind to interfaces.
- network-bind
# Add the "netrwork-manager" plug to be able to bind to ports below
# 1024 (cap_net_bind_service) and also to bind to a particular
# interface using SO_BINDTODEVICE (cap_net_raw).
- network-manager
daemon: simple
adguard-home-web:
command: adguard-home-web.sh