mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
New vesta installer
This commit is contained in:
parent
dce52823fb
commit
e892898874
1545 changed files with 59733 additions and 3626 deletions
10
install/rhel/6/logrotate/httpd
Normal file
10
install/rhel/6/logrotate/httpd
Normal file
|
@ -0,0 +1,10 @@
|
|||
/var/log/httpd/*log /var/log/httpd/domains/*log {
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
sharedscripts
|
||||
postrotate
|
||||
/sbin/service httpd reload > /dev/null 2>/dev/null || true
|
||||
[ ! -f /var/run/nginx.pid ] || kill -USR1 `cat /var/run/nginx.pid`
|
||||
endscript
|
||||
}
|
12
install/rhel/6/logrotate/nginx
Normal file
12
install/rhel/6/logrotate/nginx
Normal file
|
@ -0,0 +1,12 @@
|
|||
/var/log/nginx/*log /var/log/nginx/domains/*log {
|
||||
create 0644 nginx nginx
|
||||
daily
|
||||
rotate 10
|
||||
missingok
|
||||
notifempty
|
||||
compress
|
||||
sharedscripts
|
||||
postrotate
|
||||
[ -f /var/run/nginx.pid ] && kill -USR1 `cat /var/run/nginx.pid`
|
||||
endscript
|
||||
}
|
7
install/rhel/6/logrotate/vesta
Normal file
7
install/rhel/6/logrotate/vesta
Normal file
|
@ -0,0 +1,7 @@
|
|||
/usr/local/vesta/log/*.log {
|
||||
missingok
|
||||
notifempty
|
||||
size 30k
|
||||
yearly
|
||||
create 0600 root root
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue