home: services: shepherd: Replace use of deprecated ‘action’ procedure.

This is a followup to 1964531ce5.

* gnu/home/services/shepherd.scm (home-shepherd-configuration-file):
Use ‘perform-service-action’ rather than ‘action’.

Change-Id: I669750c319083836416c3e093c112ebfeba32e64
This commit is contained in:
Ludovic Courtès 2024-09-15 23:25:40 +02:00
parent a7bb45b39d
commit 8da4eab244
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -91,9 +91,8 @@ (define (make-user-module)
(load file))))
'#$files))
#$@(if daemonize?
`((action 'root 'daemonize))
'())
#$(and daemonize?
#~(perform-service-action root-service 'daemonize))
(format #t "Starting services...~%")
(let ((services-to-start