services: Don't use the deprecated 'make-forkexec-constructor' call.

Passing 'make-forkexec-constructor' a string or several string arguments
has been deprecated since dmd 0.1.

* gnu/services/base.scm (rngd-service-type): In 'start' method, pass a
list as the first argument to 'make-forkexec-constructor'.
* gnu/services/desktop.scm (bluetooth-shepherd-service): Likewise.
* gnu/services/spice.scm (spice-vdagent-shepherd-service): Likewise.
This commit is contained in:
Ludovic Courtès 2020-04-20 19:36:41 +02:00
parent b6cb4aeff8
commit 7d903d2ff7
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
3 changed files with 4 additions and 4 deletions

View File

@ -557,7 +557,7 @@ down.")))
(documentation "Add TRNG to entropy pool.")
(requirement '(udev))
(provision '(trng))
(start #~(make-forkexec-constructor #$@rngd-command))
(start #~(make-forkexec-constructor '#$rngd-command))
(stop #~(make-kill-destructor))))))
(define* (rngd-service #:key

View File

@ -452,8 +452,8 @@ site} for more information."
(requirement '(dbus-system udev))
(documentation "Run the bluetoothd daemon.")
(start #~(make-forkexec-constructor
(string-append #$(bluetooth-configuration-bluez config)
"/libexec/bluetooth/bluetoothd")))
(list #$(file-append (bluetooth-configuration-bluez config)
"/libexec/bluetooth/bluetoothd"))))
(stop #~(make-kill-destructor))))
(define bluetooth-service-type

View File

@ -54,7 +54,7 @@
(documentation "Spice vdagentd service")
(requirement '(udev))
(provision '(spice-vdagentd))
(start #~(make-forkexec-constructor #$@spice-vdagentd-command))
(start #~(make-forkexec-constructor '#$spice-vdagentd-command))
(stop #~(make-kill-destructor)))))
(define spice-vdagent-profile