foreman 0.7.3 → 0.7.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,8 @@
1
+ pre-start script
2
+
3
+ bash << "EOF"
4
+ mkdir -p <%= log_root %>
5
+ chown -R <%= user %> <%= log_root %>
6
+ EOF
7
+
8
+ end script
@@ -0,0 +1,6 @@
1
+ start on starting <%= app %>-<%= process.name %>
2
+ stop on stopping <%= app %>-<%= process.name %>
3
+ respawn
4
+
5
+ chdir <%= engine.directory %>
6
+ exec su <%= user %> -c "PORT=<%= port %> <%= process.command %> >> <%= log_root %>/<%=process.name%>-<%=num%>.log 2>&1"
@@ -0,0 +1,2 @@
1
+ start on starting <%= app %>
2
+ stop on stopping <%= app %>
data/lib/foreman.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module Foreman
2
2
 
3
- VERSION = "0.7.3"
3
+ VERSION = "0.7.4"
4
4
 
5
5
  class AppDoesNotExist < Exception; end
6
6
 
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: 5
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 7
9
- - 3
10
- version: 0.7.3
9
+ - 4
10
+ version: 0.7.4
11
11
  platform: ruby
12
12
  authors:
13
13
  - |
@@ -17,7 +17,7 @@ autorequire:
17
17
  bindir: bin
18
18
  cert_chain: []
19
19
 
20
- date: 2010-08-24 00:00:00 -04:00
20
+ date: 2010-09-17 00:00:00 -04:00
21
21
  default_executable:
22
22
  dependencies:
23
23
  - !ruby/object:Gem::Dependency
@@ -159,6 +159,9 @@ extra_rdoc_files: []
159
159
  files:
160
160
  - bin/foreman
161
161
  - man/foreman.1
162
+ - export/upstart/master.conf.erb
163
+ - export/upstart/process.conf.erb
164
+ - export/upstart/process_master.conf.erb
162
165
  - README.markdown
163
166
  - lib/foreman.rb
164
167
  - lib/foreman/cli.rb