mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
services: dbus: Log to stderr rather than syslog.
* gnu/services/dbus.scm (dbus-shepherd-service): Remove ‘--syslog-only’ option and pass #:log-file unconditionally. Change-Id: I9e42f241e08b95ff01e9ad69551bc2c7ce869d6d
This commit is contained in:
parent
49e9c9ec3e
commit
b9b0f0a995
1 changed files with 4 additions and 4 deletions
|
@ -1,5 +1,5 @@
|
||||||
;;; GNU Guix --- Functional package management for GNU
|
;;; GNU Guix --- Functional package management for GNU
|
||||||
;;; Copyright © 2013, 2014, 2015, 2016, 2017, 2019, 2020, 2021 Ludovic Courtès <ludo@gnu.org>
|
;;; Copyright © 2013-2017, 2019-2021, 2024 Ludovic Courtès <ludo@gnu.org>
|
||||||
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
|
||||||
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
;;; Copyright © 2021 Maxime Devos <maximedevos@telenet.be>
|
||||||
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
;;; Copyright © 2021 Brice Waegeneire <brice@waegenei.re>
|
||||||
|
@ -234,12 +234,12 @@ (define dbus-shepherd-service
|
||||||
(requirement '(user-processes syslogd))
|
(requirement '(user-processes syslogd))
|
||||||
(start #~(make-forkexec-constructor
|
(start #~(make-forkexec-constructor
|
||||||
(list (string-append #$dbus "/bin/dbus-daemon")
|
(list (string-append #$dbus "/bin/dbus-daemon")
|
||||||
"--nofork" "--system" "--syslog-only")
|
"--nofork" "--system")
|
||||||
|
#:log-file "/var/log/dbus-daemon.log"
|
||||||
#$@(if verbose?
|
#$@(if verbose?
|
||||||
;; Since the verbose output goes to the console,
|
;; Since the verbose output goes to the console,
|
||||||
;; not syslog, add a log file to capture it.
|
;; not syslog, add a log file to capture it.
|
||||||
'(#:environment-variables '("DBUS_VERBOSE=1")
|
'(#:environment-variables '("DBUS_VERBOSE=1"))
|
||||||
#:log-file "/var/log/dbus-daemon.log")
|
|
||||||
'())
|
'())
|
||||||
#:pid-file "/run/dbus/pid"))
|
#:pid-file "/run/dbus/pid"))
|
||||||
(stop #~(make-kill-destructor)))))))
|
(stop #~(make-kill-destructor)))))))
|
||||||
|
|
Loading…
Reference in a new issue