bluepill 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +2 -1
- data/VERSION +1 -1
- data/bin/bluepill +1 -1
- data/bluepill.gemspec +1 -1
- metadata +1 -1
data/README.markdown
CHANGED
@@ -27,11 +27,12 @@ The minimum config file looks something like this:
|
|
27
27
|
end
|
28
28
|
end
|
29
29
|
|
30
|
-
Note that since we specified a PID file and start command, bluepill assumes the process will daemonize itself. If we wanted bluepill to daemonize it for us, we can do:
|
30
|
+
Note that since we specified a PID file and start command, bluepill assumes the process will daemonize itself. If we wanted bluepill to daemonize it for us, we can do (note we still need to specify a PID file):
|
31
31
|
|
32
32
|
Bluepill.application("app_name") do |app|
|
33
33
|
app.process("process_name") do |process|
|
34
34
|
process.start_command = "/usr/bin/some_start_command"
|
35
|
+
process.pid_file = "/tmp/some_pid_file.pid"
|
35
36
|
process.daemonize = true
|
36
37
|
end
|
37
38
|
end
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.16
|
data/bin/bluepill
CHANGED
@@ -20,7 +20,7 @@ OptionParser.new do |opts|
|
|
20
20
|
end
|
21
21
|
end.parse!
|
22
22
|
|
23
|
-
ALLOWED_COMMANDS = %w(
|
23
|
+
ALLOWED_COMMANDS = %w(status start stop restart log unmonitor quit)
|
24
24
|
|
25
25
|
controller = Bluepill::Controller.new(options.slice(:base_dir))
|
26
26
|
|
data/bluepill.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{bluepill}
|
8
|
-
s.version = "0.0.
|
8
|
+
s.version = "0.0.16"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Arya Asemanfar", "Gary Tsang", "Rohith Ravi"]
|