create cl.log_old dir for logrotate

This commit is contained in:
openoms 2022-01-12 19:37:19 +00:00
parent 135f5a4a40
commit af2f8fb8a6
No known key found for this signature in database
GPG Key ID: 5BFB77609B081B65

View File

@ -330,6 +330,7 @@ always-use-proxy=true
#############
echo
echo "# Set logrotate for ${netprefix}lightningd"
sudo -u bitcoin mkdir /home/bitcoin/.lightning/${CLNETWORK}/cl.log_old
echo "\
/home/bitcoin/.lightning/${CLNETWORK}/cl.log
{