.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
1 changed files with 7 additions and 1 deletions

View File

@ -90,7 +90,13 @@ snapcrafts:
apps: apps:
adguard-home: adguard-home:
command: AdGuardHome -w $SNAP_DATA --no-check-update 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 daemon: simple
adguard-home-web: adguard-home-web:
command: adguard-home-web.sh command: adguard-home-web.sh