Commit e7b58325 by Xavier Antoviaque

edxapp-perm-fixes: Stopped edxapp services only need to be started, not restarted

parent 074ae6dd
...@@ -189,23 +189,23 @@ ...@@ -189,23 +189,23 @@
# gather_assets and db migrations # gather_assets and db migrations
- include: service_variant_config.yml - include: service_variant_config.yml
- name: edxapp | restart the edxapp services (supervisor) - name: edxapp | start the edxapp services (supervisor)
supervisorctl: > supervisorctl: >
name="edxapp:{{ item }}" name="edxapp:{{ item }}"
supervisorctl_path={{ supervisor_ctl }} supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }} config={{ supervisor_cfg }}
state=restarted state=started
when: celery_worker is not defined when: celery_worker is not defined
with_items: service_variants_enabled with_items: service_variants_enabled
tags: tags:
- deploy - deploy
- name: edxapp | restart the celery worker services (supervisor) - name: edxapp | start the celery worker services (supervisor)
supervisorctl: > supervisorctl: >
name="edxapp_worker:{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}" name="edxapp_worker:{{ item.service_variant }}_{{ item.queue }}_{{ item.concurrency }}"
supervisorctl_path={{ supervisor_ctl }} supervisorctl_path={{ supervisor_ctl }}
config={{ supervisor_cfg }} config={{ supervisor_cfg }}
state=restarted state=started
when: celery_worker is defined when: celery_worker is defined
with_items: edxapp_workers with_items: edxapp_workers
tags: tags:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment