procman 1.9.2 → 1.9.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/proc_man.rb +1 -1
- data/lib/proc_man/process.rb +2 -1
- data/procman-1.9.2.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d62cf51401a350daad3e597b26da4200992b21ec
|
4
|
+
data.tar.gz: 375bcbf911305198ea4d68790d433e041af13714
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 114123eba16b859ad12296d1337014757e0420da85a743c529949e0cd71b6e014d577121ee2d5edd5ea84873d6f6650f7ff109d3f599b5e81ad885dcf5593002
|
7
|
+
data.tar.gz: 9716ff01a8ec422863994054a27393c2db1afcf93b52dc74977e8f16f61b99e9c373a0fa46c6c8877aa69084d40253ac5df22db4ff37cd903b9f07003e442499
|
data/lib/proc_man.rb
CHANGED
data/lib/proc_man/process.rb
CHANGED
@@ -94,7 +94,8 @@ module ProcMan
|
|
94
94
|
options[:name] ||= 'unicorn'
|
95
95
|
options[:config_file] ||= "config/#{options[:name]}.rb"
|
96
96
|
options[:pid_path] ||= "log/#{options[:name]}.pid"
|
97
|
-
|
97
|
+
options[:rackup_file] ||= "config.ru"
|
98
|
+
start { run("bundle exec #{options[:name]} -D -E #{environment} -c #{root}/#{options[:config_file]} #{options[:rackup_file]}") }
|
98
99
|
stop { run("kill `cat #{root}/#{options[:pid_path]}`") if File.exist?(options[:pid_path]) }
|
99
100
|
restart { run("kill -USR2 `cat #{root}/#{options[:pid_path]}`") if File.exist?(options[:pid_path]) }
|
100
101
|
end
|
data/procman-1.9.2.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: procman
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.9.
|
4
|
+
version: 1.9.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Cooke
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: A very very simple library for starting/stopping/restarting processes
|
14
14
|
for a Ruby application
|
@@ -30,6 +30,7 @@ files:
|
|
30
30
|
- lib/proc_man/procfile.rb
|
31
31
|
- lib/procman/capistrano.rb
|
32
32
|
- procman-1.9.1.gem
|
33
|
+
- procman-1.9.2.gem
|
33
34
|
- procman.gemspec
|
34
35
|
homepage: http://atechmedia.com
|
35
36
|
licenses: []
|