pms3003 service
[air-quality] / system / air-mq7.service
1 [Unit]
2 Description=Air
3
4 [Service]
5 User=pi
6 ExecStart=/home/pi/air-quality/mq7.sh
7 Restart=on-failure
8 RestartSec=2s
9
10 [Install]
11 WantedBy=network-online.target