Skip to content

Commit 18a8239

Browse files
committed
bugfix: fix service start command for MQTT
1 parent 8923ee2 commit 18a8239

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

workpulse/service.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ def generate_mqtt_service_unit(self) -> str:
288288
if workpulse_cmd:
289289
mqtt_start_cmd = f"{workpulse_cmd} mqtt start"
290290
else:
291-
mqtt_start_cmd = f"{python} -m workpulse mqtt start"
291+
mqtt_start_cmd = f"{python} -m workpulse mqtt start local"
292292

293293
unit_content = f"""[Unit]
294294
Description={self.MQTT_SERVICE_DESCRIPTION}

0 commit comments

Comments
 (0)