class Perus::Pinger::ServiceStop

Public Instance Methods

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