Permalink
Browse files

making sure user programs look at the right cumulus.ini

  • Loading branch information...
1 parent f95b948 commit 8426657130c73ac38839e03c4b29d4e43581f585 BuzzTroll committed Jul 14, 2010
Showing with 4 additions and 0 deletions.
  1. +1 −0 home/bin/nimbus-edit-user
  2. +1 −0 home/bin/nimbus-list-users
  3. +1 −0 home/bin/nimbus-new-user
  4. +1 −0 home/bin/nimbus-remove-user
View
1 home/bin/nimbus-edit-user
@@ -14,6 +14,7 @@ PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH
source $NIMBUS_HOME/cumulus/env.sh
+export CUMULUS_SETTINGS_FILE=$NIMBUS_HOME/cumulus/etc/cumulus.ini
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec/nimbus_edit_user.py "$@"
exit $?
View
1 home/bin/nimbus-list-users
@@ -14,6 +14,7 @@ PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH
source $NIMBUS_HOME/cumulus/env.sh
+export CUMULUS_SETTINGS_FILE=$NIMBUS_HOME/cumulus/etc/cumulus.ini
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec//nimbus_list_users.py "$@"
exit $?
View
1 home/bin/nimbus-new-user
@@ -17,6 +17,7 @@ DJANGO_SETTINGS_MODULE="nimbusweb.portal.settings"
export DJANGO_SETTINGS_MODULE
source $NIMBUS_HOME/cumulus/env.sh
+export CUMULUS_SETTINGS_FILE=$NIMBUS_HOME/cumulus/etc/cumulus.ini
source $NIMBUS_HOME/ve/bin/activate
cd $NIMBUS_HOME
$PYTHON_EXE $NIMBUS_HOME/libexec/nimbus_new_user.py "$@"
View
1 home/bin/nimbus-remove-user
@@ -14,6 +14,7 @@ PYTHONPATH="$NIMBUS_PYSRC:$NIMBUS_PYLIB:$PYTHONPATH"
export PYTHONPATH
source $NIMBUS_HOME/cumulus/env.sh
+export CUMULUS_SETTINGS_FILE=$NIMBUS_HOME/cumulus/etc/cumulus.ini
source $NIMBUS_HOME/ve/bin/activate
$PYTHON_EXE $NIMBUS_HOME/libexec//nimbus_remove_user.py "$@"
exit $?

1 comment on commit 8426657

@timf
Nimbus member

is ~/.nimbus/cumulus.ini still created by the installer?

Please sign in to comment.