added systemd service files
[rtl433-sensors] / system / mqtt-rtl_433-influx.service
diff --git a/system/mqtt-rtl_433-influx.service b/system/mqtt-rtl_433-influx.service
new file mode 100644 (file)
index 0000000..6a3f2c4
--- /dev/null
@@ -0,0 +1,10 @@
+[Unit]
+Description=mqtt-rtl_433-influx.sh
+
+[Service]
+User=pi
+ExecStart=/home/pi/rtl433-sensors/mqtt-rtl_433-influx.sh
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target