diff --git a/etc/systemd/system/report_temperature.service b/etc/systemd/system/report_temperature.service new file mode 100644 index 0000000..ea10ca5 --- /dev/null +++ b/etc/systemd/system/report_temperature.service @@ -0,0 +1,8 @@ +[Unit] +Description=Reporting temperature data to InfluxDB server + +[Service] +Type=oneshot +ExecStart=/home/pi/tempsense/temperature_reporter.py +User=pi +StandardOutput=journal