All of lore.kernel.org
 help / color / mirror / Atom feed
From: kupcevic@sourceware.org <kupcevic@sourceware.org>
To: cluster-devel.redhat.com
Subject: [Cluster-devel] conga/luci/init.d luci
Date: 3 Oct 2006 18:23:31 -0000	[thread overview]
Message-ID: <20061003182331.30982.qmail@sourceware.org> (raw)

CVSROOT:	/cvs/cluster
Module name:	conga
Changes by:	kupcevic at sourceware.org	2006-10-03 18:23:30

Modified files:
	luci/init.d    : luci 

Log message:
	luci: init script: besides printing out url to access luci, log it into log files as well

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

--- conga/luci/init.d/luci	2006/09/26 00:22:27	1.9
+++ conga/luci/init.d/luci	2006/10/03 18:23:30	1.10
@@ -17,6 +17,9 @@
 # Grab the network config file
 . /etc/sysconfig/network
 
+# grab luci defaults
+. /etc/sysconfig/luci
+
 PATH=/sbin:/bin:/usr/sbin:/usr/bin
 export PATH
 
@@ -29,15 +32,14 @@
 LUCI_USER="luci"
 LUCI_GROUP="luci"
 
+LUCI_URL="https://$HOSTNAME:$LUCI_HTTPS_PORT"
+
 HTTPS_PUBKEY="/var/lib/luci/var/certs/https.pem"
 HTTPS_PRIVKEY="/var/lib/luci/var/certs/https.key.pem"
 STUNNEL_D="/usr/sbin/stunnel"
 STUNNEL_PID="/var/lib/luci/var/stunnel/pid"
 STUNNEL_CONF="/var/lib/luci/etc/stunnel.conf"
 
-# grab luci defaults
-. /etc/sysconfig/luci
-
 #
 # Only root wants to run this...
 #
@@ -171,8 +173,10 @@
 		    cat $PIDFILE > $GLOB_PIDFILE
 		    touch $GLOB_LOCKFILE
 		    /usr/bin/logger -t $ID "startup succeeded"
+		    /usr/bin/logger -t $ID "Listening on port $LUCI_HTTPS_PORT; accessible using url $LUCI_URL"
+		    echo; echo
+		    echo "Please, point your web browser to $LUCI_URL to access luci"
 		    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"



             reply	other threads:[~2006-10-03 18:23 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-10-03 18:23 kupcevic [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-02-04 23:36 [Cluster-devel] conga/luci/init.d luci rmccabe
2008-02-05 18:41 rmccabe
2008-02-05 18:31 rmccabe
2007-06-05 16:03 rmccabe
2007-05-22  1:39 rmccabe
2007-03-15 16:52 rmccabe
2007-02-20 17:56 rmccabe
2006-11-02  0:23 kupcevic
2006-09-26  0:22 kupcevic
2006-07-17 20:56 kupcevic

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061003182331.30982.qmail@sourceware.org \
    --to=kupcevic@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.