These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Was there a post-rotation command for access and error logs? on the new forum.
Hello,
I mistakenly deleted these log files rotation of my sites:
/var/log/virtualmin/<mywebsite>_access_log
/var/log/virtualmin/<mywebsite>_error_log
So I put them back, but I see in the log files rotation panel that some logs have a "Post-rotation command". Do you know if this was the default case for these access and error logs?
Thanks a lot for your help !
Nobody to help me? : '(
This is whats in mine, assume its the default as I've never messed with rotation settings. Im on Ubuntiu 16.04. Your distro may be different.
In the "Commands to run after rotation" box
/usr/sbin/apache2ctl graceful ; sleep 5