class Epi::Cli::Commands::Restart

Public Instance Methods

run() click to toggle source
# File lib/epi/cli/commands/restart.rb, line 7
def run
  need_root!
  need_daemon!
  Epi::Daemon.send(:stop_all) { shutdown { resume } }
end