Commit 8c133b22 authored by Ismael Posada Trobo's avatar Ismael Posada Trobo
Browse files

remove cgroup-limits line, failing with python: command not found

parent 5523d42e
...@@ -12,9 +12,6 @@ envsubst < /tmp/discourse-configmap/discourse.conf > /discourse/config/discourse ...@@ -12,9 +12,6 @@ envsubst < /tmp/discourse-configmap/discourse.conf > /discourse/config/discourse
envsubst < /tmp/discourse-configmap/sidekiq.yml > /discourse/config/sidekiq.yml envsubst < /tmp/discourse-configmap/sidekiq.yml > /discourse/config/sidekiq.yml
echo "--> DONE" echo "--> DONE"
# Get memory information
export_vars=$(python cgroup-limits) ; export $export_vars
export RAILS_ENV="production" export RAILS_ENV="production"
if bundle exec rake themes:update assets:precompile; if bundle exec rake themes:update assets:precompile;
......
...@@ -5,9 +5,6 @@ echo "--> Overwritting env variables ..." ...@@ -5,9 +5,6 @@ echo "--> Overwritting env variables ..."
envsubst < /tmp/discourse-configmap/discourse.conf > /discourse/config/discourse.conf envsubst < /tmp/discourse-configmap/discourse.conf > /discourse/config/discourse.conf
echo "--> DONE" echo "--> DONE"
# Get memory information
export_vars=$(python cgroup-limits) ; export $export_vars
export RAILS_ENV="production" export RAILS_ENV="production"
# Precompile assets. If succees, proceed with Nginx. # Precompile assets. If succees, proceed with Nginx.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment