2007-01-16 00:26:37 +01:00
|
|
|
/var/log/net-snmpd.log {
|
|
|
|
compress
|
|
|
|
dateext
|
|
|
|
maxage 365
|
|
|
|
rotate 99
|
|
|
|
size=+1024k
|
|
|
|
notifempty
|
|
|
|
missingok
|
|
|
|
create 600 root root
|
2013-07-18 16:07:01 +02:00
|
|
|
su root root
|
2007-01-16 00:26:37 +01:00
|
|
|
sharedscripts
|
|
|
|
postrotate
|
2012-03-26 11:03:36 +02:00
|
|
|
/etc/init.d/snmpd reload ||:
|
2008-09-24 17:15:08 +02:00
|
|
|
if [ -x /etc/init.d/snmptrapd ] ; then \
|
2012-03-26 11:03:36 +02:00
|
|
|
/etc/init.d/snmptrapd reload ||: ; \
|
2008-09-24 17:15:08 +02:00
|
|
|
fi
|
2007-01-16 00:26:37 +01:00
|
|
|
endscript
|
|
|
|
|
|
|
|
}
|