mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-03-10 00:44:50 +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
|
||||
(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…
Reference in New Issue
Block a user