Class: Serverkit::Resources::Service
- Defined in:
- lib/serverkit/resources/service.rb
Instance Attribute Summary
Attributes inherited from Base
#attributes, #backend, #check_result, #recheck_result, #recipe
Instance Method Summary collapse
Methods inherited from Base
abstract_class?, #all_errors, attribute, #check_command, #check_command_from_identifier, #get_command_from_identifier, #handlers, #id, #initialize, #notifiable?, #run_apply, #run_check, #successful?, #successful_on_check?, #successful_on_recheck?, #to_a
Constructor Details
This class inherits a constructor from Serverkit::Resources::Base
Instance Method Details
#apply ⇒ Object
Note:
Override
9 10 11 |
# File 'lib/serverkit/resources/service.rb', line 9 def apply run_command_from_identifier(:start_service, name) end |
#check ⇒ Object
Note:
Override
14 15 16 |
# File 'lib/serverkit/resources/service.rb', line 14 def check check_command_from_identifier(:check_service_is_running, name) end |