procman 1.6.0 → 1.6.1

Sign up to get free protection for your applications and to get access to all the features.
data/lib/proc_man.rb CHANGED
@@ -4,7 +4,7 @@ require 'proc_man/constraint'
4
4
 
5
5
  module ProcMan
6
6
 
7
- VERSION = '1.6.0'
7
+ VERSION = '1.6.1'
8
8
 
9
9
  class Error < StandardError; end
10
10
 
@@ -73,7 +73,7 @@ module ProcMan
73
73
 
74
74
  # A shortcut method for defining a set of RBG processes
75
75
  def rbg(options = {})
76
- options[:config_file] ||= "ProcessFile"
76
+ options[:config_file] ||= "Rbgfile"
77
77
  options[:environment] ||= "production"
78
78
  start { system("bundle exec rbg start -c #{options[:config_file]} -E #{options[:environment]}") }
79
79
  stop { system("bundle exec rbg stop -c #{options[:config_file]} -E #{options[:environment]}") }
@@ -86,7 +86,7 @@ module ProcMan
86
86
  options[:pid_path] ||= "log/unicorn.pid"
87
87
  start { system("bundle exec unicorn -D -c #{options[:config_file]}") }
88
88
  stop { system("kill `cat #{options[:pid_path]}`") if File.exist?(options[:pid_path]) }
89
- restart { system("kill -USR2 `cat #{options[:pid_path]}`") if File.exist?(options[:pid_path]) }
89
+ restart { system("kill -USR2 `cat #{options[:pid_path]}`") if File.exist?(options[:pid_path]) }
90
90
  end
91
91
 
92
92
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: procman
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.0
4
+ version: 1.6.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: