From d03f549fa5327ff2e138547e702877cb12a82189 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 22 Nov 2025 20:24:56 +0800
Subject: [PATCH] update TSL2561 source code to fix bug

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

diff --git a/project/lightd/etc/lightd.service b/project/lightd/etc/lightd.service
index 4129fd7..c37f65c 100644
--- a/project/lightd/etc/lightd.service
+++ b/project/lightd/etc/lightd.service
@@ -6,6 +6,7 @@
 Type=simple
 ExecStartPre=/bin/rm -f /tmp/.lightd.pid /var/log/lightd.log
 ExecStart=/usr/bin/lightd -c /etc/lightd.conf
+ExecStop=/bin/rm -f /tmp/.lightd.pid
 
 Restart=always
 RestartSec=2

--
Gitblit v1.9.1