Permalink
Browse files

[pull-rack-env] do not set RACK_ENV to "production", sprocket issues

  • Loading branch information...
portertech committed Apr 3, 2013
1 parent ae97f37 commit 95822eb158e948f53bd31c765302ae9bffb68f50
@@ -24,7 +24,5 @@ else
export PATH=$ORIGINAL_PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
-export RACK_ENV=production
-
exec 2>&1
exec /opt/sensu/embedded/bin/chpst -u $USER /opt/sensu/bin/$prog $options
@@ -61,8 +61,6 @@ else
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
-export RACK_ENV=production
-
cd /opt/sensu
##
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script

0 comments on commit 95822eb

Please sign in to comment.