From 82d1dc7355f4eb1290e69144e3fe06f31e89a90c Mon Sep 17 00:00:00 2001 From: Ari Timonen Date: Sat, 7 Sep 2019 21:46:30 +0300 Subject: [PATCH] Add compiling master --- script/entry.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/script/entry.sh b/script/entry.sh index 06580cd..e5afde9 100755 --- a/script/entry.sh +++ b/script/entry.sh @@ -7,5 +7,5 @@ rm -rf /var/www/public/assets mv /home/web/assets /var/www/public/ chown -R web:web /var/www/public -#bundle exec rake assets:precompile +su -c "cd /var/www && bundle exec rake assets:precompile" -s /bin/bash -l web su -c "cd /var/www && bundle exec puma -C config/puma.rb" -s /bin/bash -l web