mirror of
https://github.com/That-Guy-Jack/RPI-DHT11.git
synced 2025-08-17 14:40:17 +00:00
v1.0.0
This commit is contained in:
13
dht11.service
Normal file
13
dht11.service
Normal file
@@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Python DHT11 Grafana Script
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
Restart=on-failure
|
||||
User=ubuntu
|
||||
ExecStart=/usr/bin/python3 /home/ubuntu/dht11/sensor-iot.py
|
||||
WorkingDirectory=/home/ubuntu/dht11
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Reference in New Issue
Block a user