[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#62298] [PATCH 4/8] services: mympd: Require 'syslog service when co
From: |
Bruno Victal |
Subject: |
[bug#62298] [PATCH 4/8] services: mympd: Require 'syslog service when configured to log to syslog. |
Date: |
Mon, 20 Mar 2023 17:07:09 +0000 |
* gnu/services/audio.scm (mympd-shepherd-service): Depend on 'syslog when
configured to log to syslog.
---
gnu/services/audio.scm | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/gnu/services/audio.scm b/gnu/services/audio.scm
index e9ecccd614..e5b065a479 100644
--- a/gnu/services/audio.scm
+++ b/gnu/services/audio.scm
@@ -749,7 +749,9 @@ (define (mympd-shepherd-service config)
(let ((log-level* (format #f "MYMPD_LOGLEVEL=~a" log-level)))
(shepherd-service
(documentation "Run the myMPD daemon.")
- (requirement `(loopback user-processes ,@shepherd-requirement))
+ (requirement `(loopback user-processes
+ ,@(if (eqv? log-to 'syslog) '(syslog) '())
+ ,@shepherd-requirement))
(provision '(mympd))
(start #~(begin
(let* ((pw (getpwnam #$user))
--
2.39.1
- [bug#62298] [PATCH 5/8] services: mpd: Fix unintentional API breakage for mixer-type field., (continued)
- [bug#62298] [PATCH 5/8] services: mpd: Fix unintentional API breakage for mixer-type field., Bruno Victal, 2023/03/20
- [bug#62298] [PATCH 2/8] services: replace bare serializers with (serializer ...), Bruno Victal, 2023/03/20
- [bug#62298] [PATCH 6/8] services: mpd: Set PulseAudio related variables as default value for environment-variables field., Bruno Victal, 2023/03/20
- [bug#62298] [PATCH 3/8] services: audio: remove redundant list-of-string? predicate., Bruno Victal, 2023/03/20
- [bug#62298] [PATCH 7/8] services: mpd: Use user-account (resp. user-group) for user (resp. group) fields., Bruno Victal, 2023/03/20
- [bug#62298] [PATCH 8/8] services: mympd: Use user-account (resp. user-group) for user (resp. group) fields., Bruno Victal, 2023/03/20
- [bug#62298] [PATCH 4/8] services: mympd: Require 'syslog service when configured to log to syslog.,
Bruno Victal <=
- [bug#62298] [PATCH v2 1/8] services: configuration: Add user-defined sanitizer support., Bruno Victal, 2023/03/23
- [bug#62298] [PATCH v2 4/8] services: mympd: Require 'syslog service when configured to log to syslog., Bruno Victal, 2023/03/23
- [bug#62298] [PATCH v2 2/8] services: replace bare serializers with (serializer ...), Bruno Victal, 2023/03/23
- [bug#62298] [PATCH v2 6/8] services: mpd: Set PulseAudio related variables as default value for environment-variables field., Bruno Victal, 2023/03/23
- [bug#62298] [PATCH v2 3/8] services: audio: remove redundant list-of-string? predicate., Bruno Victal, 2023/03/23
- [bug#62298] [PATCH v2 8/8] services: mympd: Use user-account (resp. user-group) for user (resp. group) fields., Bruno Victal, 2023/03/23