From 8da4eab2447a52c1d4f79305756cfab4df45a1a7 Mon Sep 17 00:00:00 2001 From: Ludovic Courtès Date: Sun, 15 Sep 2024 23:25:40 +0200 Subject: home: services: shepherd: Replace use of deprecated ‘action’ procedure. 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(-) (limited to 'gnu/home') diff --git a/gnu/home/services/shepherd.scm b/gnu/home/services/shepherd.scm index a3ca21b3195..dfe4030a4eb 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 -- cgit v1.2.3