Running deamon pocess in snap

Goot morning folks,

i want to run an app in SNAP with uses another app which is running as deamon.

this deamon app is installed on my linux host (Ubunuto2004) in “/etc/init.d”. how can i setup my snapcraft.yaml to use the app inside my SNAP ?

many thanks:)

you need to bundle the daemon with your snap (at build time) and give it its own apps: entry with a daemon: simple line