4b6eec883a
Add fixes for bnc#707636 and bnc#750704. OBS-URL: https://build.opensuse.org/request/show/110576 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=55
19 lines
329 B
Plaintext
19 lines
329 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 reload ||:
|
|
if [ -x /etc/init.d/snmptrapd ] ; then \
|
|
/etc/init.d/snmptrapd reload ||: ; \
|
|
fi
|
|
endscript
|
|
|
|
}
|