services: clash: Add configuration action.

* rosenthal/services/child-error.scm (clash-shepherd-service)[actions]: Add
configuration action.
This commit is contained in:
Hilton Chain 2023-12-08 11:06:48 +08:00
parent eda1456a74
commit 7944d2b25c
No known key found for this signature in database
GPG Key ID: ACC66D09CA528292

View File

@ -114,7 +114,10 @@
#:user "clash"
#:group "clash"
#:log-file #$log-file))
(stop #~(make-kill-destructor))))))
(stop #~(make-kill-destructor))
(actions
(list (shepherd-configuration-action
(string-append data-directory "/config.yaml"))))))))
(define clash-service-type
(service-type