From bcf3ebee7be6950da7245deff420571eb464b4cd Mon Sep 17 00:00:00 2001 From: Dryusdan <=> Date: Thu, 23 Nov 2017 23:21:17 +0100 Subject: [PATCH] container restart in while --- rootfs/usr/local/bin/startup | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/rootfs/usr/local/bin/startup b/rootfs/usr/local/bin/startup index 89b71be..96af86a 100644 --- a/rootfs/usr/local/bin/startup +++ b/rootfs/usr/local/bin/startup @@ -16,8 +16,9 @@ ln -s /config/database.yml /diaspora/config/database.yml ln -s /config/diaspora.yml /diaspora/config/diaspora.yml chown -R diaspora:diaspora /diaspora cd /diaspora + +bin/bundle install --retry 4 --without test development ./script/configure_bundler -bin/bundle install --retry 4 RAILS_ENV=production bin/rake db:create db:migrate RAILS_ENV=production bin/rake assets:precompile