From feb96aa5dc5a36e5a3156341b3decfb253da7c4e Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Sat, 15 Nov 2025 02:35:44 +0800
Subject: [PATCH] rename iotd to lightd

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

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

--
Gitblit v1.9.1