25 lines
682 B
Plaintext
25 lines
682 B
Plaintext
|
|
# Managed by Ansible - Proxmox Logrotate Policy
|
||
|
|
# Do not edit manually
|
||
|
|
|
||
|
|
/var/log/pve-firewall.log { {
|
||
|
|
rotate {{ proxmox_logrotate_rotate }}
|
||
|
|
{{ proxmox_logrotate_frequency }}
|
||
|
|
maxsize {{ proxmox_logrotate_maxsize }}
|
||
|
|
{% if proxmox_logrotate_compress %}
|
||
|
|
compress
|
||
|
|
{% endif %}
|
||
|
|
{% if proxmox_logrotate_delaycompress %}
|
||
|
|
delaycompress
|
||
|
|
{% endif %}
|
||
|
|
{% if proxmox_logrotate_missingok %}
|
||
|
|
missingok
|
||
|
|
{% endif %}
|
||
|
|
{% if proxmox_logrotate_notifempty %}
|
||
|
|
notifempty
|
||
|
|
{% endif %}
|
||
|
|
sharedscripts
|
||
|
|
create 640 root adm
|
||
|
|
postrotate
|
||
|
|
invoke-rc.d pvefw-logger restart 2>/dev/null >/dev/null || true
|
||
|
|
endscript
|
||
|
|
}
|