[gatewiki-commits] SF.net SVN: gatewiki:[1441] trunk/cow/bin/cow-init.sh

View: New views
1 Messages — Rating Filter:   Alert me  

[gatewiki-commits] SF.net SVN: gatewiki:[1441] trunk/cow/bin/cow-init.sh

by hcunningham-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Revision: 1441
          http://gatewiki.svn.sourceforge.net/gatewiki/?rev=1441&view=rev
Author:   hcunningham
Date:     2009-07-02 20:53:39 +0000 (Thu, 02 Jul 2009)

Log Message:
-----------
some extra comments; reordered a couple of params so that
it is easier to put the log and pid files in the same dir as cowrc.d etc.

Modified Paths:
--------------
    trunk/cow/bin/cow-init.sh

Modified: trunk/cow/bin/cow-init.sh
===================================================================
--- trunk/cow/bin/cow-init.sh 2009-07-02 18:22:51 UTC (rev 1440)
+++ trunk/cow/bin/cow-init.sh 2009-07-02 20:53:39 UTC (rev 1441)
@@ -25,7 +25,8 @@
 # that if you want to serve several sites from different instances of CoW on
 # one server then you should check out a single copy of the whole of gatewiki,
 # then duplicate the "cow" directory under different names, one for each
-# instance.
+# instance (alternatively use the create-custom-site.sh script - see the user
+# guide on "deployment and runtime dependencies").
 COW_HOME=/opt/gatewiki/cow
 
 # The port on which you want CoW to run. If you are going to run multiple Cow
@@ -36,18 +37,20 @@
 # run a localhost accessable version
 COW_MODE=server
 
+# Unix user name under which CoW is to be run
+RUN_AS=gate
+
+# The CoW user home -- this is where .cowrc.d will be looked for
+COW_USER_HOME=/home/$RUN_AS
+
 # PID file.  The default of $COW_HOME/cow.pid should be fine for most uses
+# but if you're running multiple copies try e.g. COW_USER_HOME instead
 PIDFILE="$COW_HOME/cow.pid"
 
 # Log file to which standard output and error streams should be redirected
+# Again if you're running multiple copies try e.g. COW_USER_HOME instead
 LOGFILE="$COW_HOME/cow.log"
 
-# Unix user name under which CoW is to be run
-RUN_AS=gate
-
-# The CoW user home -- this is where .cowrc.d will be looked for
-COW_USER_HOME=/home/$RUN_AS
-
 # The location of ant (1.7 or later)
 ANT_HOME=/opt/ant-1.7
 ANT=$ANT_HOME/bin/ant


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.

------------------------------------------------------------------------------
_______________________________________________
gatewiki-commits mailing list
gatewiki-commits@...
https://lists.sourceforge.net/lists/listinfo/gatewiki-commits