This commit is contained in:
José González 2022-06-21 11:16:36 +02:00
parent 14edca5143
commit 7ac9717536
1 changed files with 3 additions and 2 deletions

View File

@ -49,6 +49,7 @@
}
/var/log/pandora/pandora_snmptrap.log {
su pandora apache
weekly
missingok
size 500000
@ -56,7 +57,7 @@
maxage 30
notifempty
postrotate
/usr/local/bin/pandora_manage /etc/pandora/pandora_server.conf --start_snmptrapd > /dev/null 2>/dev/null || true
copytruncate
pandora_manage /etc/pandora/pandora_server.conf --start_snmptrapd > /dev/null 2>/dev/null || true
endscript
copytruncate
}