SHA256
1
0
forked from pool/net-snmp

Accepting request 822087 from network:utilities

Fixed bug #1173487 (forwarded request 817756 from Xilanaz)

OBS-URL: https://build.opensuse.org/request/show/822087
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/net-snmp?expand=0&rev=92
This commit is contained in:
Dominique Leuenberger 2020-07-26 14:16:55 +00:00 committed by Git OBS Bridge
commit fee7e605e3
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
}