mirror of
https://github.com/That-Guy-Jack/RPI-DHT11.git
synced 2025-04-26 12:32:29 +00:00
14 lines
256 B
Desktop File
14 lines
256 B
Desktop File
[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
|