From: Dobrica Pavlinusic Date: Sat, 23 Sep 2017 12:51:27 +0000 (+0200) Subject: added systemd service files X-Git-Url: http://git.rot13.org/?a=commitdiff_plain;ds=inline;h=2046c26b06e7c7e6c9d22bebf06cc945b0bc5bdf;p=rtl433-sensors added systemd service files --- diff --git a/system/mqtt-rtl_433-influx.service b/system/mqtt-rtl_433-influx.service new file mode 100644 index 0000000..6a3f2c4 --- /dev/null +++ b/system/mqtt-rtl_433-influx.service @@ -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 diff --git a/system/rtl_433-json-mqtt.service b/system/rtl_433-json-mqtt.service new file mode 100644 index 0000000..092b4f1 --- /dev/null +++ b/system/rtl_433-json-mqtt.service @@ -0,0 +1,10 @@ +[Unit] +Description=rtl_433-json-mqtt.sh + +[Service] +User=pi +ExecStart=/home/pi/rtl433-sensors/rtl_433-json-mqtt.sh +Restart=on-failure + +[Install] +WantedBy=multi-user.target