RaspberrPi project source code
guowenxue
15 hours ago a574ce7edf7f31847be882f9f08dcd1ab8e5ebe0
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