Module: Avm::EacRailsBase1::Instances::SystemdUnit::TasksSchedulerCommand

Defined in:
lib/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler_command.rb

Instance Method Summary collapse

Instance Method Details

#tasks_scheduler_command_contentObject



10
11
12
# File 'lib/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler_command.rb', line 10

def tasks_scheduler_command_content
  template.child('tasks_scheduler_command.sh').apply(variables_source)
end

#tasks_scheduler_command_pathObject



14
15
16
# File 'lib/avm/eac_rails_base1/instances/systemd_unit/tasks_scheduler_command.rb', line 14

def tasks_scheduler_command_path
  "/opt/aux/#{instance.id}/tasks_scheduler.sh"
end