From e5dd0138d802030f5583f1bb5fa8fac9a4525203 Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 7 Dec 2014 22:28:08 +0100 Subject: [PATCH] init d --- config/unicorn_init_d | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 config/unicorn_init_d diff --git a/config/unicorn_init_d b/config/unicorn_init_d old mode 100644 new mode 100755 index 05f119a..3e0044c --- a/config/unicorn_init_d +++ b/config/unicorn_init_d @@ -16,7 +16,7 @@ GEM_HOME="/home/web/.rvm/gems/ruby-$APP_RUBY" UNICORN_OPTS="-D -E $ENV -c $APP_ROOT/config/unicorn.rb" SET_PATH="cd $APP_ROOT; rvm $APP_RUBY" -CMD="$SET_PATH; unicorn $UNICORN_OPTS" +CMD="$SET_PATH; bundle exec unicorn $UNICORN_OPTS" old_pid="$PID.oldbin"