Skip to content
Browse files

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

  • Loading branch information...
1 parent ae97f37 commit 95822eb158e948f53bd31c765302ae9bffb68f50 @portertech portertech committed Apr 3, 2013
View
2 runit_scripts/sensu-sv-run.sh.erb
@@ -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
View
2 sensu_configs/init.d/sensu-service
@@ -61,8 +61,6 @@ else
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
-export RACK_ENV=production
-
cd /opt/sensu
##
View
2 sensu_configs/upstart/sensu-api.conf
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script
View
2 sensu_configs/upstart/sensu-client.conf
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script
View
2 sensu_configs/upstart/sensu-dashboard.conf
@@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi
- export RACK_ENV=production
-
exec setuidgid $USER ./$PROG $options
end script
View
2 sensu_configs/upstart/sensu-server.conf
@@ -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.
Something went wrong with that request. Please try again.