Sha256: 62a65118966c55518281f87aca3cfd4639baca3b640fbe84b2f7f544b09eb68a
Contents?: true
Size: 386 Bytes
Versions: 34
Compression:
Stored size: 386 Bytes
Contents
module Perus::Pinger class UpstartStop < Command description 'Stop the upstart job specified with "job". Valid values for "job" are contained in the pinger config file.' option :job, restricted: true def run result = shell("sudo stop #{options.job}") true # shell will capture any errors end end end
Version data entries
34 entries across 34 versions & 1 rubygems