From 8da4eab2447a52c1d4f79305756cfab4df45a1a7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Sun, 15 Sep 2024 23:25:40 +0200 Subject: [PATCH] =?UTF-8?q?home:=20services:=20shepherd:=20Replace=20use?= =?UTF-8?q?=20of=20deprecated=20=E2=80=98action=E2=80=99=20procedure.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- gnu/home/services/shepherd.scm | 5 ++--- 1 file 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