Go to file
Harold Paulson a7403f1fa5 typo fix 2020-12-01 11:13:26 -08:00
README.md yet more formatting 2020-12-01 11:11:15 -08:00
crontab.in yet more formatting 2020-12-01 11:11:15 -08:00
roll_apache_logs.pl typo fix 2020-12-01 11:13:26 -08:00

README.md

roll_apache_logs Utility

Rolls apache logs...

Install

cd /tmp
fetch https://gitea.sierraweb.com/api/v1/repos/haroldp/roll_apache_logs/archive/master.tar.gz
tar -zxvf master.tar.gz
cd roll_apache_logs
cp roll_apache_logs.pl /usr/local/bin/roll_apache_logs
cat crontab.in >> /etc/crontab
pkg install p5-Logfile-Rotate
rm -rf /tmp/roll_apache_logs

To Do

Expire old logs(!)
Apache configtest reloads(!)