pms3003 service master
authorDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 6 Nov 2021 11:16:35 +0000 (12:16 +0100)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Sat, 6 Nov 2021 11:16:35 +0000 (12:16 +0100)
system/air-pms3003.service [new file with mode: 0644]

diff --git a/system/air-pms3003.service b/system/air-pms3003.service
new file mode 100644 (file)
index 0000000..a26ce98
--- /dev/null
@@ -0,0 +1,11 @@
+[Unit]
+Description=Air
+
+[Service]
+User=pi
+ExecStart=/home/pi/air-quality/pms3003.pl
+Restart=on-failure
+RestartSec=2s
+
+[Install]
+WantedBy=network-online.target