[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Ovirt-devel] [PATCH] set RAILS_ENV for all services in common /etc/sysconfig/ovirt-rails



Alan Pevec wrote:
diff --git a/wui/conf/ovirt-mongrel-rails b/wui/conf/ovirt-mongrel-rails
index 7cfaf2d..498e2bf 100755
--- a/wui/conf/ovirt-mongrel-rails
+++ b/wui/conf/ovirt-mongrel-rails
@@ -29,9 +31,9 @@ RETVAL=0
 start() {
     echo -n "Starting ovirt-mongrel-rails: "
- RAILS_ENV=$RAILS_ENVIRONMENT $REINDEX_PROG
+    RAILS_ENV=$RAILS_EN $REINDEX_PROG
Typo here? $RAILS_EN should be $RAILS_ENV
     $MONGREL_PROG start -c $OVIRT_DIR -l $MONGREL_LOG -P $MONGREL_PID \
-	-a $ADDR -e $RAILS_ENVIRONMENT --user $USER --group $GROUP \
+	-a $ADDR -e $RAILS_ENV --user $USER --group $GROUP \
 	-d --prefix=$PREFIX
     RETVAL=$?
     if [ $RETVAL -eq 0 ] && touch $MONGREL_LOCKFILE ; then

Scott


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]