recipiez 0.9.4 → 0.9.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.9.4'
2
+ VERSION = '0.9.5'
3
3
  end
@@ -9,10 +9,11 @@ stop on shutdown
9
9
  respawn # restart when job dies
10
10
  respawn limit 5 60 # give up restart after 5 respawns in 60 seconds
11
11
 
12
+ chdir <%= current_path %>
12
13
  script
13
14
  ulimit -n 100000
14
15
  echo $$ > /var/run/<%= application %>.pid
15
- exec sudo -u <%= user %> cd <%= current_path %> && ./<%= application %> -go_port=<%= go_port %> -go_env=<%= go_env %> >> <%= current_path %>/log/<%= go_env %>.log 2>&1
16
+ exec sudo -u <%= user %> <%= current_path %>/<%= application %> -go_port=<%= go_port %> -go_env=<%= go_env %> >> <%= current_path %>/log/<%= go_env %>.log 2>&1
16
17
  end script
17
18
 
18
19
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 4
9
- version: 0.9.4
8
+ - 5
9
+ version: 0.9.5
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton