Add "daemon disabled" option to snapcraft.yaml

I often run into the case that I ship daemons in snaps that I do not want to start immediately at install time but only from a later “snapctl start” from a configure hook or similar … this requires some scriptery via install and confgure hooks …

It would be really helpful to have something like:

    command: foo
    daemon: simple
    start-default: false

could snapd grow such a feature ?

1 Like

we do plan to implement something along those lines relatively soon, details and syntax to be defined, the latter probably similar to refresh-mode.

1 Like