From 8a444bfe3f442135ba66e5d9b8cdddfa9e3b50f2 Mon Sep 17 00:00:00 2001 From: Date: Mon, 11 Feb 2008 10:49:39 -0500 Subject: [PATCH] added cluster and production scripts --- config/mongrel_cluster.yml | 10 ++++++++++ script/cluster | 5 +++++ 2 files changed, 15 insertions(+) create mode 100644 config/mongrel_cluster.yml create mode 100755 script/cluster 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 -- 2.39.5