ansible/roles/pi-dhtsensor/files/dht22_sensing.service

10 lines
188 B
SYSTEMD

[Unit]
Description=DHT22 Temperature Humidity Sensing
After=multi-user.target
[Service]
Type=simple
ExecStart=/usr/bin/python3 /usr/bin/dht22_sensing
[Install]
WantedBy=multi-user.target