From c970edad23d07fea263ecfd54df47e2ae9c1a9fd Mon Sep 17 00:00:00 2001 From: Josselin Poiret Date: Tue, 9 May 2023 18:45:08 +0200 Subject: services: elogind: Add elogind as a shepherd PAM requirement. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/desktop.scm (pam-extension-procedure): Add the elogind shepherd requirement to the PAM extension. Signed-off-by: Ludovic Courtès --- gnu/services/desktop.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/services/desktop.scm') diff --git a/gnu/services/desktop.scm b/gnu/services/desktop.scm index 6b1b21cf80..64eac1117d 100644 --- a/gnu/services/desktop.scm +++ b/gnu/services/desktop.scm @@ -1192,7 +1192,8 @@ seats.)" (lambda (pam) (pam-service (inherit pam) - (session (cons pam-elogind (pam-service-session pam))))))))) + (session (cons pam-elogind (pam-service-session pam)))))) + (shepherd-requirements '(elogind))))) (define (elogind-shepherd-service config) "Return a Shepherd service to start elogind according to @var{config}." -- cgit 1.4.1