RaspberrPi project source code
guowenxue
13 hours ago 4291c22ef445b8f94d2bcf1a7a3f531d3d9f6121
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