clightning: don't cleanup socket on startup

This is now taken care of by clightning itself.
This commit is contained in:
Erik Arvstedt 2023-08-19 12:23:30 +02:00
parent 70bfb03e88
commit b85aac9ba1
No known key found for this signature in database
GPG Key ID: 33312B944DD97846

View File

@ -170,8 +170,6 @@ in {
requires = [ "bitcoind.service" ]; requires = [ "bitcoind.service" ];
after = [ "bitcoind.service" ]; after = [ "bitcoind.service" ];
preStart = '' preStart = ''
# The RPC socket has to be removed otherwise we might have stale sockets
rm -f ${cfg.networkDir}/lightning-rpc
umask u=rw,g=r,o= umask u=rw,g=r,o=
{ {
cat ${configFile} cat ${configFile}