forked from pool/net-snmp
Accepting request 817756 from home:Xilanaz:branches:network:utilities
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
This commit is contained in:
parent
be9c68ee83
commit
0c586e0562
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Jun 29 17:20:01 UTC 2020 - Alexander van Kaam <alexvkaam@gmail.com>
|
||||||
|
|
||||||
|
- Change /etc/logrotate.d/net-snmp from init.d to systemd
|
||||||
|
fix boo#1173487.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Mar 31 11:56:24 UTC 2020 - Martin Liška <mliska@suse.cz>
|
Tue Mar 31 11:56:24 UTC 2020 - Martin Liška <mliska@suse.cz>
|
||||||
|
|
||||||
|
@ -10,10 +10,8 @@
|
|||||||
su root root
|
su root root
|
||||||
sharedscripts
|
sharedscripts
|
||||||
postrotate
|
postrotate
|
||||||
/etc/init.d/snmpd reload ||:
|
/usr/bin/systemctl try-restart snmpd.service >/dev/null
|
||||||
if [ -x /etc/init.d/snmptrapd ] ; then \
|
/usr/bin/systemctl try-restart snmptrapd.service >/dev/null
|
||||||
/etc/init.d/snmptrapd reload ||: ; \
|
|
||||||
fi
|
|
||||||
endscript
|
endscript
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user