]> projects.mako.cc - selectricity/commitdiff
added cluster and production scripts
author<mako@atdot.cc> <>
Mon, 11 Feb 2008 15:49:39 +0000 (10:49 -0500)
committer<mako@atdot.cc> <>
Mon, 11 Feb 2008 15:49:39 +0000 (10:49 -0500)
config/mongrel_cluster.yml [new file with mode: 0644]
script/cluster [new file with mode: 0755]

diff --git a/config/mongrel_cluster.yml b/config/mongrel_cluster.yml
new file mode 100644 (file)
index 0000000..8c3953e
--- /dev/null
@@ -0,0 +1,10 @@
+--- 
+user: selectricity
+cwd: /org/selectricity/www/selectricity-live
+log_file: log/mongrel.log
+port: "8000"
+environment: production
+group: selectricity
+address: 127.0.0.1
+pid_file: tmp/pids/mongrel.pid
+servers: 3
diff --git a/script/cluster b/script/cluster
new file mode 100755 (executable)
index 0000000..52f4ae4
--- /dev/null
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+PATH=/var/lib/gems/1.8/bin:$PATH
+
+mongrel_rails cluster::$1

Benjamin Mako Hill || Want to submit a patch?