From e1c45b607ef7c6cddebe93d96e8f6e0cd4987da6 Mon Sep 17 00:00:00 2001
From: guowenxue <guowenxue@gmail.com>
Date: Tue, 18 Nov 2025 10:58:09 +0800
Subject: [PATCH] update config logger

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