bluepill 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/bluepill.gemspec +1 -1
- data/lib/bluepill/process.rb +3 -2
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.10
|
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.10"
|
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"]
|
data/lib/bluepill/process.rb
CHANGED
@@ -268,9 +268,10 @@ module Bluepill
|
|
268
268
|
|
269
269
|
def restart_process
|
270
270
|
if restart_command
|
271
|
-
logger.warning "Executing restart command: #{restart_command}"
|
272
|
-
|
273
271
|
cmd = process_command(restart_command)
|
272
|
+
|
273
|
+
logger.warning "Executing restart command: #{cmd}"
|
274
|
+
|
274
275
|
result = System.execute_blocking(cmd, :uid => self.uid, :gid => self.gid)
|
275
276
|
|
276
277
|
unless result[:exit_code].zero?
|