mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-04-21 13:34:33 +00:00
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.
This commit is contained in:
parent
74ad534cc6
commit
d091a0f624
@ -260,8 +260,8 @@ headers. This can expose sensitive information in your logs.")
|
|||||||
|
|
||||||
(define-configuration/no-serialization home-wakapi-configuration
|
(define-configuration/no-serialization home-wakapi-configuration
|
||||||
(wakapi
|
(wakapi
|
||||||
(string "/bin/wakapi")
|
(file-like wakapi-bin)
|
||||||
"The wakapi executable.")
|
"The wakapi package.")
|
||||||
(config
|
(config
|
||||||
(yaml-config '())
|
(yaml-config '())
|
||||||
"Association list of Wakapi configurations."))
|
"Association list of Wakapi configurations."))
|
||||||
@ -276,7 +276,9 @@ headers. This can expose sensitive information in your logs.")
|
|||||||
(documentation "Run wakapi.")
|
(documentation "Run wakapi.")
|
||||||
(provision '(wakapi))
|
(provision '(wakapi))
|
||||||
(start #~(make-forkexec-constructor
|
(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
|
(define home-wakapi-service-type
|
||||||
(service-type
|
(service-type
|
||||||
|
Loading…
Reference in New Issue
Block a user