Message ID | 36338d3a45a4f8644f209373d03b594015c6fd3b.1714490986.git.jean-baptiste.note@m4x.org |
---|---|
State | New |
Headers | show |
Series | Improve syslog service flexibility | expand |
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 47565a3d5a..0d73e5344e 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1591,7 +1591,8 @@ (define (syslog-shepherd-service config) ;; 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"))