summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuo Jinghua <sunmoon1997@gmail.com>2010-10-22 21:03:55 +0800
committerLuo Jinghua <sunmoon1997@gmail.com>2010-10-22 21:03:55 +0800
commit92b8f17dd9ffd95593148c80abe84d2c83871d72 (patch)
tree86070af17dba142a87cbaad8a41597b0a14ef7da
parent95e7a8383a70195dd49b16729ed25ed035cf1a58 (diff)
added sensord.service
-rw-r--r--sensord.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/sensord.service b/sensord.service
new file mode 100644
index 0000000..a448961
--- /dev/null
+++ b/sensord.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Sensor Daemon
+After=syslog.target
+
+[Service]
+Type=forking
+ExecStart=/usr/sbin/sensord
+PIDFile=/var/run/sensord.pid
+
+[Install]
+WantedBy=multi-user.target