forked from evolix/ansible-roles
Add squid logrotate
This commit is contained in:
parent
3e80c98a05
commit
2dfd0c0706
1
lxc-php/templates/mailname.j2
Normal file
1
lxc-php/templates/mailname.j2
Normal file
|
@ -0,0 +1 @@
|
|||
{{ansible_fqdn}}
|
11
squid/files/logrotate_squid
Normal file
11
squid/files/logrotate_squid
Normal file
|
@ -0,0 +1,11 @@
|
|||
/var/log/squid3/*.log {
|
||||
monthly
|
||||
compress
|
||||
rotate 12
|
||||
missingok
|
||||
create 640 proxy adm
|
||||
sharedscripts
|
||||
postrotate
|
||||
test ! -e /var/run/squid3.pid || /usr/sbin/squid3 -k rotate
|
||||
endscript
|
||||
}
|
Loading…
Reference in a new issue