David Craven <da...@craven.ch> skribis: >> Looking at the doc, I’m under the impression that this should also >> depend on elogind no? (I think it needs to talk to elogind to tell it >> about “seats” being used etc.) > > logind is an optional dependency. How do I make a shepherd service > depend on a dbus-service?
Like this: (shepherd-service (requirements '(dbus-system)) …) Search for ‘shepherd-service’ in (gnu services desktop), or run ‘guix system shepherd-graph’ to see the Shepherd service names. In fact elogind is automatically started by dbus-daemon on demand, so there’s no dependency to be expressed here, other than that on ‘dbus-system’. Thanks, Ludo’.