recipiez 0.9.3 → 0.9.4

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.3'
2
+ VERSION = '0.9.4'
3
3
  end
@@ -12,7 +12,7 @@ respawn limit 5 60 # give up restart after 5 respawns in 60 seconds
12
12
  script
13
13
  ulimit -n 100000
14
14
  echo $$ > /var/run/<%= application %>.pid
15
- exec sudo -u <%= user %> <%= current_path %>/<%= application %> -go_port=<%= go_port %> -go_env=<%= go_env %> >> <%= current_path %>/log/<%= go_env %>.log 2>&1
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
16
  end script
17
17
 
18
18
 
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 9
8
- - 3
9
- version: 0.9.3
8
+ - 4
9
+ version: 0.9.4
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton