From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EB0kHamUGGQwlwAASxT56A (envelope-from ) for ; Mon, 20 Mar 2023 18:15:21 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id 0OsmHamUGGTGZQEAauVa8A (envelope-from ) for ; Mon, 20 Mar 2023 18:15:21 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 30181303FE for ; Mon, 20 Mar 2023 18:15:21 +0100 (CET) Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1679332521; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post; bh=Zbch3LaNM/B+bUPOhbgOFw9Kdfa84aib8W6aLqNPggk=; b=SBDfwriPGRKVsJqa+qHVJQcSxHWkkSM+bmUgLlIO0JyMdMhuC0IBhvxuSo/n4RnzHS/ymz xhkZC04+7IogEQEurpF2e17/okP/oQC7pp2xwLSzurXqzrlSx6hlnoi/I9CtoooDkP1sb0 o5LRgqvCPRANExpb0/so1PcjMF9RvSXIYBZ5AMwVux8oFY/VzvAPEJ8CMjpnhd6wAoiVRQ lOwpYvGMTq1kf24fTMUHdEyx23hm8MIvRdO4nXjwwX6EchQ/7F7b6Ri+EVbXXerCrJlQoD 8qRlLGT/rkBVMZAchTXce9pE/0j72QPAkTAmp9h14ncbxMRHBs6imPZfHKY7RQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1679332521; a=rsa-sha256; cv=none; b=TjyiIIesMSJOFUSkgAyAv4zqwrKcuIr8e5sSsI2wdcN2m26uqC2R39a7g3b6M58+OTkfn2 m42WnC4CJJsLdaARB7gs6nZWpQR6mR1HmerSAEKWewY4nl7FyIs6GB+P9CZo1KDw1/D47s FBf5oENyGc5257B86Esy78pJR0ddDF/vPXxSu1fNTa1sMBCjJs87FIpG+Oq6w3oGmj73rn L20EA6pTrhk1bSusHQ0cZxIBlfz8nombxuI5TyF9PPxmNrdfDQxxr6C5LjQDG+9CWCWQE8 9bcklAl846bl49MgYBGLxtAOTyhx/NMBDvudp2bvhYGZQBTynS6HwTsW8gMIUw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peJ6D-00058c-9U; Mon, 20 Mar 2023 13:15:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peJ67-000589-Cx for guix-patches@gnu.org; Mon, 20 Mar 2023 13:15:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peJ66-0000FP-Tf for guix-patches@gnu.org; Mon, 20 Mar 2023 13:15:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1peJ66-0003BN-Cm for guix-patches@gnu.org; Mon, 20 Mar 2023 13:15:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#62298] [PATCH 4/8] services: mympd: Require 'syslog service when configured to log to syslog. Resent-From: Bruno Victal Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 20 Mar 2023 17:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 62298 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 62298@debbugs.gnu.org Cc: ludo@gnu.org, Bruno Victal , liliana.prikler@gmail.com, maxim.cournoyer@gmail.com Received: via spool by 62298-submit@debbugs.gnu.org id=B62298.167933247312178 (code B ref 62298); Mon, 20 Mar 2023 17:15:02 +0000 Received: (at 62298) by debbugs.gnu.org; 20 Mar 2023 17:14:33 +0000 Received: from localhost ([127.0.0.1]:55658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJ5d-0003AM-BN for submit@debbugs.gnu.org; Mon, 20 Mar 2023 13:14:33 -0400 Received: from smtpm4.myservices.hosting ([185.26.105.235]:35756) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1peJ5c-0003AE-1V for 62298@debbugs.gnu.org; Mon, 20 Mar 2023 13:14:32 -0400 Received: from mail1.netim.hosting (unknown [185.26.106.173]) by smtpm4.myservices.hosting (Postfix) with ESMTP id 828ED20BC1; Mon, 20 Mar 2023 18:14:29 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by mail1.netim.hosting (Postfix) with ESMTP id 62DD88009E; Mon, 20 Mar 2023 18:07:17 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail1.netim.hosting Received: from mail1.netim.hosting ([127.0.0.1]) by localhost (mail1-2.netim.hosting [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id ZFD3oQe32eEQ; Mon, 20 Mar 2023 18:07:17 +0100 (CET) Received: from guix-nuc.home.arpa (bl9-119-177.dsl.telepac.pt [85.242.119.177]) (Authenticated sender: lumen@makinata.eu) by mail1.netim.hosting (Postfix) with ESMTPSA id AE066800A4; Mon, 20 Mar 2023 18:07:16 +0100 (CET) From: Bruno Victal Date: Mon, 20 Mar 2023 17:07:09 +0000 Message-Id: <5d9e5cc507601cdd696f00a5dd14d3210e00186b.1679332019.git.mirai@makinata.eu> X-Mailer: git-send-email 2.39.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: X-Migadu-Queue-Id: 30181303FE X-Spam-Score: -1.56 X-Migadu-Spam-Score: -1.56 X-Migadu-Scanner: scn0.migadu.com List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-TUID: 9eBOcsvojngO * 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