recipiez 0.9.1 → 0.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,3 +1,3 @@
1
1
  module Recipiez
2
- VERSION = '0.9.1'
2
+ VERSION = '0.9.2'
3
3
  end
data/recipes/go.rb CHANGED
@@ -17,12 +17,14 @@ Capistrano::Configuration.instance(true).load do
17
17
  unless exists? :go_env
18
18
  set :go_env, 'development'
19
19
  end
20
+
21
+ unless exists? :go_port
22
+ set :go_port, "8080"
23
+ end
20
24
 
21
25
  put render("upstart_go", binding), "#{application}.conf"
22
26
  sudo "mv #{application}.conf /etc/init/#{application}.conf"
23
27
 
24
-
25
-
26
28
  end
27
29
 
28
30
 
@@ -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_env=<%= go_env %> >> <%= current_path %>/log/<%= go_env %>.log 2>&1
15
+ exec sudo -u <%= user %> <%= 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
- - 1
9
- version: 0.9.1
8
+ - 2
9
+ version: 0.9.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Alastair Brunton
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2015-12-23 00:00:00 +01:00
17
+ date: 2016-02-03 00:00:00 +01:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency