From 2e84abfd073ec3047c7b3295c47f109007f3bd80 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Mon, 02 Feb 2026 16:34:56 +0800
Subject: [PATCH] Update lightd code to get lux value without timeout

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

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

--
Gitblit v1.9.1