forked from pool/net-snmp
19 lines
339 B
Plaintext
19 lines
339 B
Plaintext
/var/log/net-snmpd.log {
|
|
compress
|
|
dateext
|
|
maxage 365
|
|
rotate 99
|
|
size=+1024k
|
|
notifempty
|
|
missingok
|
|
create 600 root root
|
|
sharedscripts
|
|
postrotate
|
|
/etc/init.d/snmpd try-restart ||:
|
|
if [ -x /etc/init.d/snmptrapd ] ; then \
|
|
/etc/init.d/snmptrapd try-restart ||: ; \
|
|
fi
|
|
endscript
|
|
|
|
}
|