Sha256: e7140d175042f6af4722358bb3a623cfb62fcf3c7b48b258ded8e8896c046453
Contents?: true
Size: 389 Bytes
Versions: 34
Compression:
Stored size: 389 Bytes
Contents
module Perus::Pinger class UpstartStart < Command description 'Start 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 start #{options.job}") true # shell will capture any errors end end end
Version data entries
34 entries across 34 versions & 1 rubygems