I have snap with slot and plug defined as below.
name: et-gw
slots:
entouch-srvr:
content: socket-directory
interface: content
write:
- $SNAP_DATA/sockets
plugs:
#connect to slot provided by wifi-ap and use api to communicate
control:
content: socket-directory
interface: content
target: $SNAP_DATA/sockets
I’m noticing et-gw snap create sockets under ‘/var/snap/wifi-ap/current/sockets/’ directory which should be rather created in ‘/var/snap/et-gw/current/sockets’ directory.
This happens at the time of install and at system reboot.
Is this a known BUG? Or Am I doing something wrong.