Marcus Meissner
0c586e0562
Fixed bug #1173487 OBS-URL: https://build.opensuse.org/request/show/817756 OBS-URL: https://build.opensuse.org/package/show/network:utilities/net-snmp?expand=0&rev=25
18 lines
336 B
Plaintext
18 lines
336 B
Plaintext
/var/log/net-snmpd.log {
|
|
compress
|
|
dateext
|
|
maxage 365
|
|
rotate 99
|
|
size=+1024k
|
|
notifempty
|
|
missingok
|
|
create 600 root root
|
|
su root root
|
|
sharedscripts
|
|
postrotate
|
|
/usr/bin/systemctl try-restart snmpd.service >/dev/null
|
|
/usr/bin/systemctl try-restart snmptrapd.service >/dev/null
|
|
endscript
|
|
|
|
}
|