File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 if !new_resource . restart_command
3030 r = new_resource
3131 new_resource . restart_command do
32- run_context . resource_collection . find ( :supervisor_service => "#{ r . application . name } -celeryd" ) . run_action ( :restart ) if new_resource . celeryd
33- run_context . resource_collection . find ( :supervisor_service => "#{ r . application . name } -celerybeat" ) . run_action ( :restart ) if new_resource . celerybeat
34- run_context . resource_collection . find ( :supervisor_service => "#{ r . application . name } -celerycam" ) . run_action ( :restart ) if new_resource . celerycam
32+ run_context . resource_collection . find ( :supervisor_service => "#{ r . application . name } -celeryd" ) . run_action ( :restart ) if r . celeryd
33+ run_context . resource_collection . find ( :supervisor_service => "#{ r . application . name } -celerybeat" ) . run_action ( :restart ) if r . celerybeat
34+ run_context . resource_collection . find ( :supervisor_service => "#{ r . application . name } -celerycam" ) . run_action ( :restart ) if r . celerycam
3535 end
3636 end
3737
You can’t perform that action at this time.
0 commit comments