proxy/proxy/rhn-proxy | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
New commits:
commit bfd2dd3955b67b7deb91f0b0f37dad1cc0359bf2
Author: Miroslav Suchý <msuchy(a)redhat.com>
Date: Mon Nov 29 14:03:55 2010 +0100
657956 - fix condrestart option
diff --git a/proxy/proxy/rhn-proxy b/proxy/proxy/rhn-proxy
index 68e6d7b..355baa5 100755
--- a/proxy/proxy/rhn-proxy
+++ b/proxy/proxy/rhn-proxy
@@ -72,8 +72,12 @@ case "$1" in
restart
;;
condrestart)
- wrd_services condrestart
- ;;
+ if [ -f /var/lock/subsys/rhn-proxy ]; then
+ stop
+ start
+ RETVAL=$?
+ fi
+ ;;
*)
echo "Usage: rhn-proxy {start|stop|status|restart|condrestart}"
exit 1
Show replies by date