Re: dbus-controller-script: experimental dbus-broker-units for Artix
Reply #7 –
So what happens if a D-Bus-invoked service conflicts with existing services if it's run in parallel?
elogind can be run without polkit though, and in most cases, elogind is started before polkit (at least, 6 seconds earlier based on my last boot), otherwise polkit would be in [system]. Though we can add some services to depend on polkit such as rtkit or upower (though in its current form, it would not be launched by dbus).
If we want to maintain compatibility, I think reusing SystemdService= is the best way since we have no systemd anyway so it won't be used for anything else. Unless we can create ArtixService= without dbus-broker/dbus complaining that this is not in the DBus specification.
At the very least, this "evil" template should have a depend-on: dbus since it's invoked by dbus anyway, and if there are dependencies, it will be launched by dbus, if I'm correct.