From 2046c26b06e7c7e6c9d22bebf06cc945b0bc5bdf Mon Sep 17 00:00:00 2001 From: Dobrica Pavlinusic Date: Sat, 23 Sep 2017 14:51:27 +0200 Subject: [PATCH] added systemd service files --- system/mqtt-rtl_433-influx.service | 10 ++++++++++ system/rtl_433-json-mqtt.service | 10 ++++++++++ 2 files changed, 20 insertions(+) create mode 100644 system/mqtt-rtl_433-influx.service create mode 100644 system/rtl_433-json-mqtt.service 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 -- 2.20.1