By making use of the
after directive from Expose a more consistent subset of systemd’s service directives we’re able to set a service app to run after another app that’s defined in the same snap
Is there a way to make the dependency be with respect to a service that is not in the same snap? E.g. provided by a different snap, or just any systemd service - the name of which is known.
I appreciate this may lead to issues given that there’s no guarantee that the called-for service is actually installed, but would be great to know of any way to potentially do this.