hilfe mein git ist komisch
This commit is contained in:
18
etc/logrotate.d/apache2
Normal file
18
etc/logrotate.d/apache2
Normal file
@@ -0,0 +1,18 @@
|
||||
/var/log/apache2/*.log {
|
||||
daily
|
||||
missingok
|
||||
rotate 14
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 root adm
|
||||
sharedscripts
|
||||
prerotate
|
||||
if [ -d /etc/logrotate.d/httpd-prerotate ]; then
|
||||
run-parts /etc/logrotate.d/httpd-prerotate
|
||||
fi
|
||||
endscript
|
||||
postrotate
|
||||
/opt/psa/admin/sbin/httpdmng --reload > /dev/null 2>/dev/null || true
|
||||
endscript
|
||||
}
|
||||
Reference in New Issue
Block a user