From 7944d2b25c6e66018b54dc4b3fb2e6148907b487 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Fri, 8 Dec 2023 11:06:48 +0800 Subject: [PATCH] services: clash: Add configuration action. * rosenthal/services/child-error.scm (clash-shepherd-service)[actions]: Add configuration action. --- rosenthal/services/child-error.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/rosenthal/services/child-error.scm b/rosenthal/services/child-error.scm index 14090c2..6a60b9c 100644 --- a/rosenthal/services/child-error.scm +++ b/rosenthal/services/child-error.scm @@ -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