diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-09-15 23:25:40 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-09-16 00:16:20 +0200 |
commit | 8da4eab2447a52c1d4f79305756cfab4df45a1a7 (patch) | |
tree | 2f6bde33ad743012a9487677c87ef56e3b79be26 /gnu/home | |
parent | a7bb45b39d7d698e0868c2b3ac9097b70ef9d401 (diff) | |
download | guix-8da4eab2447a52c1d4f79305756cfab4df45a1a7.tar guix-8da4eab2447a52c1d4f79305756cfab4df45a1a7.tar.gz |
home: services: shepherd: Replace use of deprecated ‘action’ procedure.
This is a followup to 1964531ce5365d6744e3909960e9d608be624228.
* gnu/home/services/shepherd.scm (home-shepherd-configuration-file):
Use ‘perform-service-action’ rather than ‘action’.
Change-Id: I669750c319083836416c3e093c112ebfeba32e64
Diffstat (limited to 'gnu/home')
-rw-r--r-- | gnu/home/services/shepherd.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm index a3ca21b319..dfe4030a4e 100644 --- a/gnu/home/services/shepherd.scm +++ b/gnu/home/services/shepherd.scm @@ -91,9 +91,8 @@ as shepherd package." (load file)))) '#$files)) - #$@(if daemonize? - `((action 'root 'daemonize)) - '()) + #$(and daemonize? + #~(perform-service-action root-service 'daemonize)) (format #t "Starting services...~%") (let ((services-to-start |