I'd like this as well. The only way to do things like this today is to wrap the services that require configs (or databases, whatever) in a script and make that script the daemon. It'd be great if that was an optional step (e.g. if I wanted to verify a config before launching it, as Mark mentioned) and the heavy lifting of generating things needed in order to run was handled in a dedicated place. Having wrappers for all my daemons makes my snap difficult to navigate and maintain.
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1661126 Title: Add One-shot Install/Uninstall Hook To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1661126/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs