mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] mosquitto: allow to overwrite .service
@ 2025-09-03 13:44 Fabian Pflug
  2025-09-03 13:49 ` Alexander Dahl via ptxdist
  2025-09-03 15:31 ` [ptxdist] [PATCH v2] " Fabian Pflug
  0 siblings, 2 replies; 3+ messages in thread
From: Fabian Pflug @ 2025-09-03 13:44 UTC (permalink / raw)
  To: ptxdist; +Cc: Fabian Pflug

Use alternative instead of copy in order to provide your own
mosquitto.service file for easier changes.

Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
 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)
 	@$(call install_link, mosquitto, ../mosquitto.service, \
 		/usr/lib/systemd/system/multi-user.target.wants/mosquitto.service)
-- 
2.47.2




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-09-03 15:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-09-03 13:44 [ptxdist] [PATCH] mosquitto: allow to overwrite .service Fabian Pflug
2025-09-03 13:49 ` Alexander Dahl via ptxdist
2025-09-03 15:31 ` [ptxdist] [PATCH v2] " Fabian Pflug

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox