lib/srv_manager/service.rb in srv_manager-0.0.5 vs lib/srv_manager/service.rb in srv_manager-0.0.6
- old
+ new
@@ -26,9 +26,14 @@
def stop
processes.each(&:stop)
LOGGER.info "Stoped service #{name}"
end
+ def kill
+ processes.each(&:kill)
+ LOGGER.info "Killed service #{name}"
+ end
+
def restart
processes.each(&:restart)
end
def started?
\ No newline at end of file