Commit 1c1f6baf15d3f6611a87d9591e3aa8ed578a09e8

Authored by Daniel Cunha
Committed by Daniela Feitosa
1 parent c6642d60

Allowing other environment variables to be load at noosfero bootstrap.

(ActionItem1900)
Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
etc/init.d/noosfero
... ... @@ -48,7 +48,7 @@ FERRET_PID_FILE=$NOOSFERO_DIR/tmp/pids/ferret.production.pid
48 48 main_script() {
49 49 cd $NOOSFERO_DIR
50 50 if [ "$NOOSFERO_USER" != "$USER" ]; then
51   - su $NOOSFERO_USER -c "./script/production $1"
  51 + su $NOOSFERO_USER -l -c "./script/production $1"
52 52 else
53 53 ./script/production $1
54 54 fi
... ...