lib/datacenter/process.rb in datacenter-0.1.0 vs lib/datacenter/process.rb in datacenter-0.1.1
- old
+ new
@@ -40,10 +40,10 @@
out = shell.run("kill -s #{signal} #{pid}")
raise Errno::ESRCH, pid.to_s if out.match 'No such process'
end
def stop
- send_signal :TERM if alive?
+ send_signal :QUIT if alive?
end
def kill
send_signal :KILL if alive?
while alive?; end