[Cluster-devel] conga/luci/init.d luci

kupcevic at sourceware.org kupcevic at sourceware.org
Tue Sep 26 00:22:27 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2006-09-26 00:22:27

Modified files:
	luci/init.d    : luci 

Log message:
	luci: if `service luci start` succeeds, print url to connect to luci, so user doesn't have to look thru manuals just to connect to it

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/conga/luci/init.d/luci.diff?cvsroot=cluster&r1=1.8&r2=1.9

--- conga/luci/init.d/luci	2006/08/23 19:58:42	1.8
+++ conga/luci/init.d/luci	2006/09/26 00:22:27	1.9
@@ -171,11 +171,13 @@
 		    cat $PIDFILE > $GLOB_PIDFILE
 		    touch $GLOB_LOCKFILE
 		    /usr/bin/logger -t $ID "startup succeeded"
+		    echo
+		    echo "Please, point your web browser to https://$HOSTNAME:$LUCI_HTTPS_PORT to access luci"
 		else
 		    echo_failure
 		    /usr/bin/logger -t $ID "startup failed"
+		    echo
 		fi
-		echo 
 		;;
 
         restart)




More information about the Cluster-devel mailing list