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:
commit
fee7e605e3
@ -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>
|
||||
|
||||
|
@ -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
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user