From 786aff3785bd3855b233181ea080ede0d8afee41 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Note Date: Tue, 30 Apr 2024 15:36:22 +0000 Subject: services: syslog: Adjust service for rsyslog compatibility. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * gnu/services/base.scm (syslog-shepherd-service): Change flag for designating configuration file. The long option is not compatible with rsyslog while the short is; switch to the short one. Signed-off-by: Ludovic Courtès --- gnu/services/base.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gnu/services') diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 6389148231..fc604f029a 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1678,7 +1678,8 @@ (define config-file ;; action work as intended. (start #~(make-forkexec-constructor (list #$(syslog-configuration-syslogd config) - #$(string-append "--rcfile=" syslog.conf) + ;; the -f option here is compatible with rsyslog + #$(string-append "-f " syslog.conf) #$@(syslog-configuration-extra-options config)) #:file-creation-mask #o137 #:pid-file "/var/run/syslog.pid")) -- cgit v1.2.3