class PoiseApplicationPython::Resources::CeleryWorker::Provider

Private Instance Methods

service_options(resource) click to toggle source

(see PoiseApplication::ServiceMixin#service_options)

Calls superclass method
# File lib/poise_application_python/resources/celery_worker.rb, line 68
def service_options(resource)
  super
  raise PoiseApplicationPython::Error.new("Unable to determine app module for #{new_resource}") unless new_resource.app_module
  resource.command("#{new_resource.python} -m celery --app=#{new_resource.app_module} worker")
end