mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 10:37:42 -07:00
default configs for ubuntu releases
This commit is contained in:
parent
4401d706a4
commit
4a3cec1290
426 changed files with 23631 additions and 0 deletions
19
install/ubuntu/17.10/logrotate/apache2
Normal file
19
install/ubuntu/17.10/logrotate/apache2
Normal file
|
@ -0,0 +1,19 @@
|
|||
/var/log/apache2/*.log /var/log/apache2/domains/*log {
|
||||
weekly
|
||||
missingok
|
||||
rotate 52
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
create 640 root adm
|
||||
sharedscripts
|
||||
postrotate
|
||||
/etc/init.d/apache2 reload > /dev/null || true
|
||||
[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
|
||||
endscript
|
||||
prerotate
|
||||
if [ -d /etc/logrotate.d/httpd-prerotate ]; then \
|
||||
run-parts /etc/logrotate.d/httpd-prerotate; \
|
||||
fi; \
|
||||
endscript
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue