From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 03 Sep 2025 15:49:09 +0200 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1utnrK-007fRQ-14 for lore@lore.pengutronix.de; Wed, 03 Sep 2025 15:49:09 +0200 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1utnrJ-0005xW-6B; Wed, 03 Sep 2025 15:49:09 +0200 Received: from mail.thorsis.com ([217.92.40.78]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1utnrD-0005xG-8N; Wed, 03 Sep 2025 15:49:03 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by localhost (Mailerdaemon) with ESMTPSA id 5D4341485E4E; Wed, 3 Sep 2025 15:49:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thorsis.com; s=dkim; t=1756907342; h=from:subject:date:message-id:to:cc:mime-version:content-type: in-reply-to:references; bh=Va7B+dARnHVFTwkmzmCPVYyveiTMz7+dhTLEbBlgKgM=; b=jWfx1xlqRZdUQXVQduoVFHVYWigz6XFWMYaga2w7ItDNFfbjHNTMWVYKo7eCrQ1dW4sq+g 6PS5IVnXixU86iija9cvo8YhE3xnvVVN3lKJUnyJIQVPNYGc3ZRJCv3R4XECbiOrwg4/AT MRBefZjHuaGUpz54hAtwhSOkZVC9nna159vLgxa1l+60zrArq4t7qcXDL4Zlwy/vY+5AbZ 3I7fexJxZQs4e+ixhVxqZTP9tvcKXGA1BEqXHEl55jX7HY3MJfolJvdVvTeVgCBOkxcBmV GoVdaRMHuDUGOfx31Pb5ijuQNYraMWyYK8myO+e9dydz/z8HCdMEB6wyJSmmJQ== Date: Wed, 3 Sep 2025 15:49:01 +0200 To: Fabian Pflug Message-ID: <20250903-puzzling-thank-fc53bd5d97e2@thorsis.com> Mail-Followup-To: Fabian Pflug , ptxdist@pengutronix.de References: <20250903134437.726642-1-f.pflug@pengutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20250903134437.726642-1-f.pflug@pengutronix.de> User-Agent: Mutt/2.2.12 (2023-09-09) X-Last-TLS-Session-Version: TLSv1.3 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on metis.whiteo.stw.pengutronix.de X-Spam-Level: X-Spam-Status: No, score=-3.3 required=4.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED,RCVD_IN_VALIDITY_RPBL_BLOCKED, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.2 Subject: Re: [ptxdist] [PATCH] mosquitto: allow to overwrite .service X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Alexander Dahl via ptxdist Reply-To: ptxdist@pengutronix.de Cc: Alexander Dahl , ptxdist@pengutronix.de Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false Hello Fabian, Am Wed, Sep 03, 2025 at 03:44:37PM +0200 schrieb Fabian Pflug: > Use alternative instead of copy in order to provide your own > mosquitto.service file for easier changes. > > Signed-off-by: Fabian Pflug > --- > rules/mosquitto.make | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/rules/mosquitto.make b/rules/mosquitto.make > index 239f1fe3c..ed10bb5f7 100644 > --- a/rules/mosquitto.make > +++ b/rules/mosquitto.make > @@ -99,7 +99,7 @@ ifdef PTXCONF_MOSQUITTO_BROKER > /etc/mosquitto/mosquitto.conf) > > ifdef PTXCONF_MOSQUITTO_SYSTEMD_UNIT > - @$(call install_copy, mosquitto, 0, 0, 0644, -, \ > + @$(call install_alternative, mosquitto, 0, 0, 0644, -, \ > /usr/lib/systemd/system/mosquitto.service) install_alternative does not need that dash '-' as 5th argument. Does that even work like this? Greets Alex > @$(call install_link, mosquitto, ../mosquitto.service, \ > /usr/lib/systemd/system/multi-user.target.wants/mosquitto.service) > -- > 2.47.2 > >