Class: LaunchAgent::Daemon
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
#[]=, #initialize, #job_id, #load, #loaded?, #plist_content, #plist_filename, #unload
Constructor Details
This class inherits a constructor from LaunchAgent::Base
Instance Method Details
#build_params ⇒ Object
3 4 5 6 7 8 9 10 |
# File 'lib/launch_agent/daemon.rb', line 3 def build_params @params['Label'] = job_id @params['KeepAlive'] = { 'SuccessfulExit' => false } @params['ProgramArguments'] = @args @params['RunAtLoad'] = true end |