class Perus::Pinger::UpstartStop

Public Instance Methods

run() click to toggle source
# File lib/perus/pinger/commands/upstart_stop.rb, line 7
def run
    result = shell("sudo stop #{options.job}")
    true # shell will capture any errors
end