formatting
parent
e59d9d403c
commit
81d2e8ae7e
22
README.md
22
README.md
|
@ -1,19 +1,19 @@
|
|||
!roll_apache_logs Utility
|
||||
#roll_apache_logs Utility
|
||||
|
||||
Rolls apache logs...
|
||||
|
||||
!!Install
|
||||
##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
|
||||
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
|
||||
##To Do
|
||||
|
||||
Expire old logs(!)
|
||||
Apache configtest reloads(!)
|
||||
|
|
Loading…
Reference in New Issue