Permalink
Browse files

Using KILL when stopping zeus.

  • Loading branch information...
1 parent 28c17d6 commit accc79afe64c417c0bb6603c0631389137a0b8bd @veloper committed Mar 1, 2014
Showing with 5 additions and 1 deletion.
  1. +1 −1 lib/zeusd/daemon.rb
  2. +4 −0 lib/zeusd/interpreter.rb
View
@@ -36,7 +36,7 @@ def stop!
return self unless process
# Kill process tree and wait for exits
- process.kill!(:recursive => true, :wait => true)
+ process.kill!(:recursive => true, :signal => "KILL", :wait => true)
# Clean up socket file if stil exists
(zeus_socket_file.delete rescue nil) if zeus_socket_file.exist?
View
@@ -83,6 +83,10 @@ def color
end
end
+ def color?
+ !!color
+ end
+
end
end

0 comments on commit accc79a

Please sign in to comment.