Method: Perus::Pinger::UpstartStart#run
- Defined in:
- lib/perus/pinger/commands/upstart_start.rb
#run ⇒ Object
7 8 9 10 |
# File 'lib/perus/pinger/commands/upstart_start.rb', line 7 def run result = shell("sudo start #{options.job}") true # shell will capture any errors end |