Connecting snap interfaces

Blake Rouse blake.rouse at canonical.com
Mon Aug 8 14:14:32 UTC 2016


I have the same problem with the ntopng snap. Instead auto connecting
restricted interfaces I would prefer to see it restart the daemon that
required those interfaces once all are connected.

- Blake

On Mon, Aug 8, 2016 at 10:09 AM, Christopher Arges <
chris.j.arges at canonical.com> wrote:

> I'm snapping up a daemon and client program that requires several
> non-auto-connect interfaces.
>
> Right now for a user to install and run the program(s) correctly requires:
>
> snap install daemon-program_1_amd64.snap
> snap connect daemon-programd:hardware-observe ubuntu-core:hardware-observe
> snap connect daemon-programd:system-observe ubuntu-core:system-observe
> snap connect daemon-program:hardware-observe ubuntu-core:hardware-observe
> snap connect daemon-program:system-observe ubuntu-core:system-observe
> sudo systemctl restart snap.daemon-program.daemon-programd
>
> How can I make my snap auto-connect these special interfaces?
>
> --chris
>
> --
> Snapcraft mailing list
> Snapcraft at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.ubuntu.com/
> mailman/listinfo/snapcraft
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/snapcraft/attachments/20160808/8c1afe19/attachment.html>


More information about the Snapcraft mailing list