Sha256: 4c109e56140dcd58809605fb3bd6ea7c1c11bebfce9f9dc627f6c12df6e8df8a
Contents?: true
Size: 394 Bytes
Versions: 35
Compression:
Stored size: 394 Bytes
Contents
module Perus::Pinger class ServiceStart < Command description 'Start the init job specified with "job". Valid values for "job" are contained in the pinger config file.' option :job, restricted: true def run result = shell("sudo service #{options.job} start") true # shell will capture any errors end end end
Version data entries
35 entries across 35 versions & 1 rubygems