I am currently working on snapping a software and I have a question about it. The software is composed of 2 executables, a launcher and the main app, a daemon. To snap them inside a unique snap I specify 2 apps in the snapcraft.yaml : launcher and daemon.
My question is: do I have to use the snapd-control interface to start/stop the daemon with the launcher ?
This would imply a manual verification to release the snap on the store.
As both apps are in the same snap, is there another way to start/stop one with the other ?
Right now I am using the devmode confinement so in the launcher code I explicitly wrote “snap start/stop daemon” and it works but when I switch the confinement to classic I can’t do that anymore.