Skip to contentSkip to conversation

conga/luci/init.d luci

Cluster-devel [email protected] 1 participant 1 message Sep 26, 2006

lore
Share & tools
lore
#0 lore raw

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

luci/init.d/luci +3 -1
@@ -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)