add systemd service

This commit is contained in:
interfisch 2021-07-01 22:23:06 +02:00
parent e09b57aab5
commit ace7352967
1 changed files with 13 additions and 0 deletions

View File

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