Skip to content

Commit c91f290

Browse files
author
Alex J Lennon
committed
Remove EXTRA_ARGS from uwb-mqtt-publisher service ExecStart
- Empty EXTRA_ARGS causes systemd to add trailing space/argument - This triggers 'unrecognized arguments' error - Removing ${EXTRA_ARGS} fixes service startup - Service now runs successfully
1 parent 63a0257 commit c91f290

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

recipes-connectivity/uwb-mqtt-publisher/files/uwb-mqtt-publisher.service

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ ExecStart=/usr/bin/uwb-mqtt-publisher ${UART_PORT} \
1414
--mqtt-broker ${MQTT_BROKER} \
1515
--mqtt-port ${MQTT_PORT} \
1616
--mqtt-topic ${MQTT_TOPIC} \
17-
--mqtt-rate-limit ${MQTT_RATE_LIMIT} \
18-
${EXTRA_ARGS}
17+
--mqtt-rate-limit ${MQTT_RATE_LIMIT}
1918
ExecReload=/bin/kill -HUP $MAINPID
2019
Restart=always
2120
RestartSec=10

0 commit comments

Comments
 (0)