From: Date: Mon, 11 Feb 2008 15:49:39 +0000 (-0500) Subject: added cluster and production scripts X-Git-Url: https://projects.mako.cc/source/selectricity/commitdiff_plain/8a444bfe3f442135ba66e5d9b8cdddfa9e3b50f2 added cluster and production scripts --- diff --git a/config/mongrel_cluster.yml b/config/mongrel_cluster.yml new file mode 100644 index 0000000..8c3953e --- /dev/null +++ b/config/mongrel_cluster.yml @@ -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 index 0000000..52f4ae4 --- /dev/null +++ b/script/cluster @@ -0,0 +1,5 @@ +#!/bin/sh + +PATH=/var/lib/gems/1.8/bin:$PATH + +mongrel_rails cluster::$1