diff options
author | Jean-Baptiste Note <jean-baptiste.note@m4x.org> | 2024-04-30 15:36:22 +0000 |
---|---|---|
committer | Guix Patches Tester <> | 2024-04-30 17:44:48 +0200 |
commit | 4f0d7120be2ec81fcebf60ce02d0111e1b83996f (patch) | |
tree | 11690964c8df96bf6e049bdbe185308b292c7c00 | |
parent | 3387c56704b6ea737bdf8cc13f86b03c51a3f9d7 (diff) | |
download | guix-patches-issue-70677.tar guix-patches-issue-70677.tar.gz |
services: syslog: Adjust service for rsyslog compatibility.issue-70677
* 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.
-rw-r--r-- | gnu/services/base.scm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gnu/services/base.scm b/gnu/services/base.scm index 702e8e0f9e..a366d7837f 100644 --- a/gnu/services/base.scm +++ b/gnu/services/base.scm @@ -1589,7 +1589,8 @@ reload its settings 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")) |