RaspberrPi project source code
guowenxue
20 hours ago e1c45b607ef7c6cddebe93d96e8f6e0cd4987da6
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