guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] services: Add kmscon service.


From: Ludovic Courtès
Subject: Re: [PATCH] services: Add kmscon service.
Date: Sun, 11 Sep 2016 15:57:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

David Craven <address@hidden> 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’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]