From fa1bcd5018998b083612c9587d3a1ae1dc902021 Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Sat, 5 Oct 2024 21:54:34 +0800 Subject: [PATCH] services: cloudflare-warp: Don't log stdout. * rosenthal/services/child-error.scm (cloudflare-warp-shepherd-service) [start]<#:log-file>: Set to "/dev/null". --- 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 5e05480..8efcbfb 100644 --- a/rosenthal/services/child-error.scm +++ b/rosenthal/services/child-error.scm @@ -225,7 +225,10 @@ headers. This can expose sensitive information in your logs.") (documentation "Run warp-svc.") (provision '(cloudflare-warp)) (start #~(make-forkexec-constructor - (list #$(file-append cloudflare-warp "/bin/warp-svc")))) + (list #$(file-append cloudflare-warp "/bin/warp-svc")) + ;; Logs are written to + ;; /var/lib/cloudflare-warp/cfwarp_service_log.txt. + #:log-file "/dev/null")) (stop #~(make-kill-destructor)))))) (define cloudflare-warp-service-type