Gurpartap/cognizant

View on GitHub
lib/cognizant/commands/shutdown.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Cognizant
  module Commands
    command("shutdown", "Stop the monitoring daemon without affecting managed processes") do |connection, _|
      Cognizant::Controller.daemon.shutdown!
    end
  end
end