foreman 0.7.4 → 0.7.5

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.
@@ -3,4 +3,4 @@ stop on stopping <%= app %>-<%= process.name %>
3
3
  respawn
4
4
 
5
5
  chdir <%= engine.directory %>
6
- exec su <%= user %> -c "PORT=<%= port %> <%= process.command %> >> <%= log_root %>/<%=process.name%>-<%=num%>.log 2>&1"
6
+ exec su - <%= user %> -c 'export PORT=<%= port %>; <%= process.command %> >> <%= log_root %>/<%=process.name%>-<%=num%>.log 2>&1'
data/lib/foreman.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Foreman
2
2
 
3
- VERSION = "0.7.4"
3
+ VERSION = "0.7.5"
4
4
 
5
5
  class AppDoesNotExist < Exception; end
6
6
 
@@ -97,6 +97,7 @@ private ######################################################################
97
97
  rescue PTY::ChildExited, Interrupt
98
98
  info "process exiting", process
99
99
  end
100
+ Process.waitall
100
101
  end
101
102
  end
102
103
 
@@ -106,6 +107,7 @@ private ######################################################################
106
107
  info "killing #{process.name} in pid #{pid}"
107
108
  Process.kill(signal, pid)
108
109
  end
110
+ Process.waitall
109
111
  exit 0
110
112
  end
111
113
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 4
10
- version: 0.7.4
9
+ - 5
10
+ version: 0.7.5
11
11
  platform: ruby
12
12
  authors:
13
13
  - |