summary refs log tree commit diff
path: root/gnu/services
diff options
context:
space:
mode:
authorJosselin Poiret <dev@jpoiret.xyz>2023-05-09 18:45:08 +0200
committerLudovic Courtès <ludo@gnu.org>2023-05-11 13:21:45 +0200
commitc970edad23d07fea263ecfd54df47e2ae9c1a9fd (patch)
tree65c0e0dae05cd4ed9d9d964c6a7d4d1f88463a95 /gnu/services
parent2df5d4fd18a2fbcb8066a50e2da8ec64635f5162 (diff)
downloadguix-c970edad23d07fea263ecfd54df47e2ae9c1a9fd.tar.gz
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>
Diffstat (limited to 'gnu/services')
-rw-r--r--gnu/services/desktop.scm3
1 files changed, 2 insertions, 1 deletions
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}."