mqtt_pi_led-display/systemd/mqtt-pi-led-display.service
2021-07-01 21:44:07 +01:00

13 lines
256 B
Desktop File

[Unit]
Description=RPI MQTT Controller
Wants=network.target
After=network.target
[Service]
ExecStart=/usr/bin/python3 home/pi/mqtt_pi_led-display/src/main.py 192.168.1.6 snappi2
Restart=on-failure
User=pi
Group=users
[Install]
WantedBy=multi-user.target