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

Merge in DNS/adguard-home from 2228-linux-caps to master

* commit 'a376bf915a397e71763bed9e86ab2767d5467e85':
  .goreleaser: add a new snap plug to bind to devices
This commit is contained in:
Ainar Garipov 2020-10-29 18:57:38 +03:00
commit 9761f13399
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