12 lines
200 B
Text
12 lines
200 B
Text
|
[Unit]
|
||
|
Description=DHT11 sensor exporter
|
||
|
|
||
|
[Service]
|
||
|
Group=gpio
|
||
|
Restart=always
|
||
|
EnvironmentFile=/etc/default/dht11-exporter
|
||
|
ExecStart=/usr/bin/dht11-exporter $ARGS
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|