lib/perus/pinger/commands/upstart_start.rb in perus-1.0.6 vs lib/perus/pinger/commands/upstart_start.rb in perus-1.0.7

- old
+ new

@@ -1,9 +1,9 @@ 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 + option :job, restricted: false def run result = shell("sudo start #{options.job}") true # shell will capture any errors end