Skip to content
This repository has been archived by the owner on Jan 23, 2020. It is now read-only.

Do not set RACK_ENV to "production", sprocket issues #46

Merged
merged 1 commit into from Apr 3, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions runit_scripts/sensu-sv-run.sh.erb
Expand Up @@ -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
2 changes: 0 additions & 2 deletions sensu_configs/init.d/sensu-service
Expand Up @@ -61,8 +61,6 @@ else
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi

export RACK_ENV=production

cd /opt/sensu

##
Expand Down
2 changes: 0 additions & 2 deletions sensu_configs/upstart/sensu-api.conf
Expand Up @@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi

export RACK_ENV=production

exec setuidgid $USER ./$PROG $options
end script
2 changes: 0 additions & 2 deletions sensu_configs/upstart/sensu-client.conf
Expand Up @@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi

export RACK_ENV=production

exec setuidgid $USER ./$PROG $options
end script
2 changes: 0 additions & 2 deletions sensu_configs/upstart/sensu-dashboard.conf
Expand Up @@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi

export RACK_ENV=production

exec setuidgid $USER ./$PROG $options
end script
2 changes: 0 additions & 2 deletions sensu_configs/upstart/sensu-server.conf
Expand Up @@ -40,7 +40,5 @@ script
export PATH=$PATH:$PLUGINS_DIR:$HANDLERS_DIR
fi

export RACK_ENV=production

exec setuidgid $USER ./$PROG $options
end script