From 24345339421493cdacdbaae0248c3928ea9404c2 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 18 Nov 2025 12:41:40 +0800
Subject: [PATCH] update proc.h and utils.h

---
 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