services: wakapi: Use wakapi package.

* rosenthal/services/child-error.scm (home-wakapi-configuration)[wakapi]:
Change default value to wakapi-bin package.
(home-wakapi-shepherd-service)[start]: Adjust accordingly.
[stop]: Add missing field.
pull/1/head
Hilton Chain 1 year ago
parent 74ad534cc6
commit d091a0f624
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292
  1. 8
      rosenthal/services/child-error.scm

@ -260,8 +260,8 @@ headers. This can expose sensitive information in your logs.")
(define-configuration/no-serialization home-wakapi-configuration
(wakapi
(string "/bin/wakapi")
"The wakapi executable.")
(file-like wakapi-bin)
"The wakapi package.")
(config
(yaml-config '())
"Association list of Wakapi configurations."))
@ -276,7 +276,9 @@ headers. This can expose sensitive information in your logs.")
(documentation "Run wakapi.")
(provision '(wakapi))
(start #~(make-forkexec-constructor
(list #$wakapi "-config" #$config-file)))))))))
(list #$(file-append wakapi "/bin/wakapi")
"-config" #$config-file)))
(stop #~(make-kill-destructor))))))))
(define home-wakapi-service-type
(service-type

Loading…
Cancel
Save