summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Baptiste Note <jean-baptiste.note@m4x.org>2024-04-30 15:36:22 +0000
committerGuix Patches Tester <>2024-04-30 17:44:48 +0200
commit4f0d7120be2ec81fcebf60ce02d0111e1b83996f (patch)
tree11690964c8df96bf6e049bdbe185308b292c7c00
parent3387c56704b6ea737bdf8cc13f86b03c51a3f9d7 (diff)
downloadguix-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.scm3
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"))