tvd-unicorn 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/cookbooks/unicorn/templates/default/server.erb +2 -4
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.6
|
@@ -5,7 +5,6 @@ shift # get rid of unicorn argument
|
|
5
5
|
export PATH="/data/zendesk/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
6
6
|
export UNICORN_PID=<%= File.join(node[:project_dir], node[:run_dir], "unicorn.pid") %>
|
7
7
|
export HOME="<%= node[:home_dir] %>"
|
8
|
-
shome="<%= node[:release_dir] %>"
|
9
8
|
rhome="<%= node[:release_dir]/service/unicorn %>
|
10
9
|
|
11
10
|
case $1 in
|
@@ -13,9 +12,8 @@ case $1 in
|
|
13
12
|
unset LS_COLORS
|
14
13
|
unset BUNDLE_GEMFILE GEM_PATH GEM_HOME RUBYOPT
|
15
14
|
|
16
|
-
cd $
|
17
|
-
|
18
|
-
exec chpst -e $rhome/env <%= node[:ruby_loader] %> <%= node[:app_ruby] %> "$shome/bin/local-helper" <%= node[:unicorn_exec] %> -c <%= File.join(node[:project_dir], node[:app_dir], "config", "unicorn.rb") %> -E <%= node[:app_env] %> -D
|
15
|
+
cd $rhome
|
16
|
+
exec ./run
|
19
17
|
;;
|
20
18
|
|
21
19
|
stop*)
|