added unit file
This commit is contained in:
8
etc/systemd/system/report_temperature.service
Normal file
8
etc/systemd/system/report_temperature.service
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user