I’ve defined a daemon command specified for a snap. This command is designed to run only at certain instances and exit. I defined the command in the snapcraft.yaml as:
Here there is a command that is defined not as a service, plus our daemon service. When I go to install the snap. It hangs on install
Start snap "foo" (unset) services
If I remove the oneshot daemon from the snapcraft.yaml it installs fine.
is there a proper way to define a oneshot daemon?