services: elogind: Add elogind as a shepherd PAM requirement.

* gnu/services/desktop.scm (pam-extension-procedure): Add the elogind shepherd
requirement to the PAM extension.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Josselin Poiret 2023-05-09 18:45:08 +02:00 committed by Ludovic Courtès
parent 2df5d4fd18
commit c970edad23
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -1192,7 +1192,8 @@ (module (file-append (elogind-package config)
(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}."