From 3ef6cf39749c00366b12aef9f023aac3bda16f2d Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 17 Nov 2025 23:39:25 +0800
Subject: [PATCH] update modules for tsl2561 and ds18b20

---
 project/lightd/etc/lightd.service |   15 +++++++++++++++
 1 files changed, 15 insertions(+), 0 deletions(-)

diff --git a/project/lightd/etc/lightd.service b/project/lightd/etc/lightd.service
new file mode 100644
index 0000000..4129fd7
--- /dev/null
+++ b/project/lightd/etc/lightd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=RaspberryPi Auto light program Service
+After=network.target
+
+[Service]
+Type=simple
+ExecStartPre=/bin/rm -f /tmp/.lightd.pid /var/log/lightd.log
+ExecStart=/usr/bin/lightd -c /etc/lightd.conf
+
+Restart=always
+RestartSec=2
+
+[Install]
+WantedBy=multi-user.target
+

--
Gitblit v1.9.1