1
0
forked from rpms/rpcbind

Restart rpcbind.socket on restarts (bz 1306824)

Signed-off-by: Steve Dickson <steved@redhat.com>
This commit is contained in:
Steve Dickson 2016-04-04 11:01:08 -04:00
parent 64280fb9d8
commit c0f80c5a67

View File

@ -1,6 +1,6 @@
Name: rpcbind
Version: 0.2.3
Release: 9.rc1%{?dist}
Release: 10.rc1%{?dist}
Summary: Universal Addresses to RPC Program Number Mapper
Group: System Environment/Daemons
License: BSD
@ -112,8 +112,9 @@ fi
/sbin/chkconfig --del rpcbind >/dev/null 2>&1 || :
/bin/systemctl try-restart rpcbind.service >/dev/null 2>&1 || :
%triggerun -- rpcbind > 0.2.2-2.0
/bin/systemctl enable rpcbind.socket
%triggerin -- rpcbind > 0.2.2-2.0
/bin/systemctl enable rpcbind.socket >/dev/null 2>&1 || :
/bin/systemctl restart rpcbind.socket >/dev/null 2>&1 || :
%files
%defattr(-,root,root)
@ -126,6 +127,9 @@ fi
%{_unitdir}/rpcbind.socket
%changelog
* Mon Apr 4 2016 Steve Dickson <steved@redhat.com> - 0.2.3-10.rc1
- Restart rpcbind.socket on restarts (bz 1306824)
* Sat Feb 20 2016 Steve Dickson <steved@redhat.com> - 0.2.3-9.rc1
- Updated to the latest RC release rpcbind-0_2_4-rc1