[DRE-commits] r3275 - packages/mongrel-cluster/trunk/debian
sharky at alioth.debian.org
sharky at alioth.debian.org
Sat Mar 14 09:49:12 UTC 2009
Author: sharky
Date: 2009-03-14 09:49:12 +0000 (Sat, 14 Mar 2009)
New Revision: 3275
Added:
packages/mongrel-cluster/trunk/debian/README.Debian
packages/mongrel-cluster/trunk/debian/mongrel-cluster.default
Modified:
packages/mongrel-cluster/trunk/debian/changelog
packages/mongrel-cluster/trunk/debian/mongrel-cluster.init
Log:
touchup documentation
Added: packages/mongrel-cluster/trunk/debian/README.Debian
===================================================================
--- packages/mongrel-cluster/trunk/debian/README.Debian (rev 0)
+++ packages/mongrel-cluster/trunk/debian/README.Debian 2009-03-14 09:49:12 UTC (rev 3275)
@@ -0,0 +1,22 @@
+mongrel-cluster for Debian
+--------------------------
+
+To make use of mongrel-cluster, you have several options:
+
+* invoke the "mongrel_rails cluster::*" commands manually
+* run the "mongrel_cluster_ctl" command manually
+* make use of Debian's /etc/init.d/mongrel-cluster init script to run
+ your mongrels
+
+To make use of this last option:
+
+* place your YAML configuration files in /etc/mongrel-cluster/sites-available
+* create symbolic links in /etc/mongrel-cluster/sites-enable for the sites
+ you wish to enable
+* run /etc/init.d/mongrel-cluster start
+
+By default, the mongrels will be run as the "www-data" user. You can change
+this default value by editing /etc/default/mongrel-cluster. Alternatively
+you can sets this on a per-site basis from the YAML configuration file.
+
+ -- Jeremy Lainé <jeremy.laine at m4x.org> Sat, 14 Mar 2009 09:53:48 +0100
Modified: packages/mongrel-cluster/trunk/debian/changelog
===================================================================
--- packages/mongrel-cluster/trunk/debian/changelog 2009-03-14 08:54:24 UTC (rev 3274)
+++ packages/mongrel-cluster/trunk/debian/changelog 2009-03-14 09:49:12 UTC (rev 3275)
@@ -1,6 +1,8 @@
mongrel-cluster (1.0.5-2) UNRELEASED; urgency=low
* Make it possible to specify user/group to run the mongrels (Closes: #500424).
+ * Add some usage notes in README.Debian.
+ * Ship a default /Etc/default/mongrel-cluster.
-- Jeremy Lainé <jeremy.laine at m4x.org> Sat, 14 Mar 2009 09:53:48 +0100
Added: packages/mongrel-cluster/trunk/debian/mongrel-cluster.default
===================================================================
--- packages/mongrel-cluster/trunk/debian/mongrel-cluster.default (rev 0)
+++ packages/mongrel-cluster/trunk/debian/mongrel-cluster.default 2009-03-14 09:49:12 UTC (rev 3275)
@@ -0,0 +1,5 @@
+# Default user to run the mongrels
+USER=www-data
+
+# Default group to run the mongrels
+GROUP=www-data
Modified: packages/mongrel-cluster/trunk/debian/mongrel-cluster.init
===================================================================
--- packages/mongrel-cluster/trunk/debian/mongrel-cluster.init 2009-03-14 08:54:24 UTC (rev 3274)
+++ packages/mongrel-cluster/trunk/debian/mongrel-cluster.init 2009-03-14 09:49:12 UTC (rev 3275)
@@ -29,8 +29,6 @@
CONF_DIR=/etc/mongrel-cluster/sites-enabled
PID_DIR=/var/run/mongrel-cluster
-USER=www-data
-GROUP=www-data
DAEMON_OPTS="-c $CONF_DIR"
# Include mongrel-cluster defaults if available
More information about the Pkg-ruby-extras-commits
mailing list