From b717b87fcd5eb26185cde3b3f360ec3b78447f6f Mon Sep 17 00:00:00 2001 From: Hilton Chain Date: Mon, 3 Jul 2023 17:44:46 +0800 Subject: [PATCH] services: smartdns: Remove log-file option. It's already configured in the config flie. * rosenthal/services/dns.scm (smartdns-configuration)[log-file]: Remove field. (smartdns-shepherd-service): Adjust MATCH-LAMBDA. [start]: Remove "-x" option. <#:log-file>: Remove field. --- rosenthal/services/dns.scm | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/rosenthal/services/dns.scm b/rosenthal/services/dns.scm index a3c61d4..2f77cf0 100644 --- a/rosenthal/services/dns.scm +++ b/rosenthal/services/dns.scm @@ -23,22 +23,18 @@ "The Smartdns package.") (config (file-like (plain-file "empty" "")) - "Configuration file for Smartdns.") - (log-file - (string "/var/log/smartdns.log") - "Where the logs go.")) + "Configuration file for Smartdns.")) (define smartdns-shepherd-service (match-lambda - (($ smartdns config log-file) + (($ smartdns config) (list (shepherd-service (documentation "Run smartdns.") (provision '(smartdns dns)) (requirement '(loopback networking)) (start #~(make-forkexec-constructor (list #$(file-append smartdns "/sbin/smartdns") - "-f" "-x" "-c" #$(file-append config)) - #:log-file #$log-file)) + "-f" "-c" #$(file-append config)))) (stop #~(make-kill-destructor))))))) (define smartdns-service-type