SHA256
1
0
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:
Marcus Meissner 2020-07-21 12:16:02 +00:00 committed by Git OBS Bridge
parent be9c68ee83
commit 0c586e0562
2 changed files with 8 additions and 4 deletions

View File

@ -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>

View File

@ -10,10 +10,8 @@
su root root
sharedscripts
postrotate
/etc/init.d/snmpd reload ||:
if [ -x /etc/init.d/snmptrapd ] ; then \
/etc/init.d/snmptrapd reload ||: ; \
fi
/usr/bin/systemctl try-restart snmpd.service >/dev/null
/usr/bin/systemctl try-restart snmptrapd.service >/dev/null
endscript
}