projects
/
air-quality
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
collect Sharp's GP2Y1010AU0F
[air-quality]
/
system
/
dust.service
diff --git a/system/dust.service
b/system/dust.service
new file mode 100644
(file)
index 0000000..
2744a77
--- /dev/null
+++ b/
system/dust.service
@@ -0,0
+1,11
@@
+[Unit]
+Description=dust sensor
+
+[Service]
+User=dpavlin
+ExecStart=/nuc/air-quality/dust.sh
+Restart=always
+RestartSec=2s
+
+[Install]
+WantedBy=multi-user.target