Unfortunately no luck so far. I didn't have the delaycompress (I had it surpressed), so I added it again. Also the postrotate and endscript were surpressed, which should only be better, but in any case... I also found an empty extra line under the accolade, so I removed that as well. Let's see what happens.dressie wrote: Friday 24 April 2020 15:14 I got it to work!
I changed the following:
-moved the log file location from "/tmp" to "/var/log" (changed this in the /etc/init.d/domoticz.sh file)
Good luck, I hope this will work for you too!
P.S. this worked without the line in crontab -e.
BTW, you mention the file name as /etc/init.d/domoticz.sh for me it is both in another folder and doesn't have the .sh extension to it: /etc/logrotate.d/domoticz
The file you mention is to setup the logfile and it's location, it is not about rotation of the log