Socket activation support

Can we get eyes on LP: #1612440?

As far as I recall there is code in snapd that handles socket activation, but many moons ago it was decided that the syntax needed rework so we never exposed it in snapcraft.

The aforementioned bug proposes what follows:

The current implementation in snapd is done with two options on the app:

  • socket (boolean, requires listen-stream)
  • listen-stream (the systemd listen-stream string)

This should probably be changed to something more like:

   listen-stream: /run/lxd/unix.socket
   socket-group: lxd
   socket-mode: 0660
   listen-stream: [::]:8443

Last updated 1 year, 3 months ago. Help improve this document in the forum.