red_unicorn 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +3 -0
- data/README.rdoc +1 -1
- data/bin/red_unicorn +2 -2
- data/lib/red_unicorn/unicorn.rb +3 -1
- data/lib/red_unicorn/version.rb +1 -1
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/README.rdoc
CHANGED
@@ -10,7 +10,7 @@ provide zero downtime restarts.
|
|
10
10
|
RedUnicorn::Unicorn: Unicorn process interactions
|
11
11
|
Usage: red_unicorn [opts] (prolicide | status | slaughter | start | restart | reload | stop | birth)
|
12
12
|
-h, --help Show this help screen
|
13
|
-
-p, --pid /path/to/file.pid
|
13
|
+
-p, --pid-file /path/to/file.pid Specify path to PID file (default: /var/run/unicorn/unicorn.pid)
|
14
14
|
-x, --unicorn-exec /path/to/unicorn Specify path to unicorn executable (default: /var/www/shared/bundle/bin/unicorn_rails)
|
15
15
|
-c, --unicorn-config /path/to/config Specify path to unicorn configuration file (default: /etc/unicorn/app.rb)
|
16
16
|
-t, --timeout 30 Specify timeout for running actions
|
data/bin/red_unicorn
CHANGED
@@ -47,7 +47,7 @@ def print_help
|
|
47
47
|
puts 'RedUnicorn::Unicorn: Unicorn process interactions'
|
48
48
|
puts "Usage: red_unicorn [opts] (#{ALLOWED_ACTIONS.keys.join(' | ')})"
|
49
49
|
puts ' -h, --help Show this help screen'
|
50
|
-
puts ' -p, --pid /path/to/file.pid
|
50
|
+
puts ' -p, --pid-file /path/to/file.pid Specify path to PID file (default: /var/run/unicorn/unicorn.pid)'
|
51
51
|
puts ' -x, --unicorn-exec /path/to/unicorn Specify path to unicorn executable (default: /var/www/shared/bundle/bin/unicorn_rails)'
|
52
52
|
puts ' -c, --unicorn-config /path/to/config Specify path to unicorn configuration file (default: /etc/unicorn/app.rb)'
|
53
53
|
puts ' -t, --timeout 30 Specify timeout for running actions'
|
@@ -71,7 +71,7 @@ opts.each do |opt,arg|
|
|
71
71
|
unicorn_hash[:unicorn_config] = arg.to_s
|
72
72
|
when '--unicorn-exec'
|
73
73
|
unicorn_hash[:exec_path] = arg.to_s
|
74
|
-
when '--pid'
|
74
|
+
when '--pid-file'
|
75
75
|
unicorn_hash[:pid] = arg.to_s
|
76
76
|
when '--env'
|
77
77
|
unicorn_hash[:env] = arg.to_s
|
data/lib/red_unicorn/unicorn.rb
CHANGED
data/lib/red_unicorn/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: red_unicorn
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 17
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 1
|
9
|
-
-
|
10
|
-
version: 1.1.
|
9
|
+
- 1
|
10
|
+
version: 1.1.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Chris Roberts
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-06-
|
18
|
+
date: 2011-06-29 00:00:00 -07:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|