Commit 1c1f6baf15d3f6611a87d9591e3aa8ed578a09e8
Committed by
Daniela Feitosa
1 parent
c6642d60
Exists in
master
and in
28 other branches
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,7 +48,7 @@ FERRET_PID_FILE=$NOOSFERO_DIR/tmp/pids/ferret.production.pid | ||
48 | main_script() { | 48 | main_script() { |
49 | cd $NOOSFERO_DIR | 49 | cd $NOOSFERO_DIR |
50 | if [ "$NOOSFERO_USER" != "$USER" ]; then | 50 | if [ "$NOOSFERO_USER" != "$USER" ]; then |
51 | - su $NOOSFERO_USER -c "./script/production $1" | 51 | + su $NOOSFERO_USER -l -c "./script/production $1" |
52 | else | 52 | else |
53 | ./script/production $1 | 53 | ./script/production $1 |
54 | fi | 54 | fi |