Browse Source

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.
gn-latest-20200428
Ludovic Courtès 1 year ago
parent
commit
7d903d2ff7
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 2
      gnu/services/base.scm
  2. 4
      gnu/services/desktop.scm
  3. 2
      gnu/services/spice.scm

2
gnu/services/base.scm

@ -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

4
gnu/services/desktop.scm

@ -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

2
gnu/services/spice.scm

@ -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

Loading…
Cancel
Save