summaryrefslogtreecommitdiff
path: root/gnu/services
diff options
context:
space:
mode:
authorJean-Baptiste Note <jean-baptiste.note@m4x.org>2024-04-30 15:36:22 +0000
committerLudovic Courtès <ludo@gnu.org>2024-12-23 20:45:32 +0100
commit786aff3785bd3855b233181ea080ede0d8afee41 (patch)
tree502cfa402eb171975ef970e0eb07af92567efcdb /gnu/services
parentb732d702f9732493a21bba7886068fd385e12fc5 (diff)
services: syslog: Adjust service for rsyslog compatibility.
* 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 <ludo@gnu.org>
Diffstat (limited to 'gnu/services')
-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 6389148231..fc604f029a 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -1678,7 +1678,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"))