recipiez 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,8 +3,8 @@
3
3
 
4
4
  check process <%= application %>_<%= port %>
5
5
  with pidfile <%= shared_path %>/pids/thin.<%= port %>.pid
6
- start program = "/usr/bin/ruby /usr/bin/thin start -C /etc/thin/<%= application %>.yml --only <%= i %>"
7
- stop program = "/usr/bin/ruby /usr/bin/thin stop -C /etc/thin/<%= application %>.yml --only <%= i %>"
6
+ start program = "/bin/sh -c 'cd <%= current_path %> && /usr/bin/bundle exec thin start -C /etc/thin/<%= application %>.yml --only <%= i %>'"
7
+ stop program = "/bin/sh -c 'cd <%= current_path %> && /usr/bin/bundle exec thin stop -C /etc/thin/<%= application %>.yml --only <%= i %>'"
8
8
  if totalmem > 120.0 MB for 5 cycles then restart
9
9
  if failed port <%= port %> then restart
10
10
  if cpu usage > 95% for 3 cycles then restart
data/recipiez.gemspec CHANGED
@@ -4,7 +4,7 @@ $:.unshift lib unless $:.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |s|
6
6
  s.name = "recipiez"
7
- s.version = "0.1.2"
7
+ s.version = "0.1.3"
8
8
  s.platform = Gem::Platform::RUBY
9
9
  s.authors = ["Alastair Brunton"]
10
10
  s.email = ["info@simplyexcited.co.uk"]
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: recipiez
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Alastair Brunton
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-11-17 00:00:00 +01:00
18
+ date: 2011-11-26 00:00:00 +01:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency