1
0
forked from rpms/rpcbind

Fixed condrestarts (bz 241332)

This commit is contained in:
Steve Dickson 2007-05-25 09:02:12 +00:00
parent bb33986837
commit a9ce663d70
2 changed files with 8 additions and 2 deletions

View File

@ -84,7 +84,10 @@ case "$1" in
$0 start
;;
condrestart)
[ -f /var/lock/subsys/$prog ] && restart || :
if [ -f /var/lock/subsys/$prog ]; then
$0 stop
$0 start
fi
;;
*)
echo $"Usage: $0 {start|stop|status|restart|reload|condrestart}"

View File

@ -2,7 +2,7 @@
Name: rpcbind
Version: 0.1.4
Release: 6%{?dist}
Release: 7%{?dist}
Summary: Universal Addresses to RPC Program Number Napper
Group: System Environment/Daemons
License: GPL
@ -121,6 +121,9 @@ fi
%dir %attr(700,rpc,rpc) /var/lib/rpcbind
%changelog
* Fri May 25 2007 Steve Dickson <steved@redhat.com> 0.1.4-7
- Fixed condrestarts (bz 241332)
* Tue May 22 2007 Steve Dickson <steved@redhat.com> 0.1.4-6
- Fixed an ipv6 related segfault on startup (bz 240873)