Commit 70fdba52 by John Jarvis

Merge pull request #393 from edx/jarv/reload-supervisor

changing reload to a notify
parents 790fb2e8 a74c37fc
...@@ -34,6 +34,7 @@ ...@@ -34,6 +34,7 @@
src=edxapp.conf.j2 dest={{ supervisor_cfg_dir }}/edxapp.conf src=edxapp.conf.j2 dest={{ supervisor_cfg_dir }}/edxapp.conf
owner={{ supervisor_user }} group={{ common_web_user }} mode=0644 owner={{ supervisor_user }} group={{ common_web_user }} mode=0644
when: celery_worker is not defined when: celery_worker is not defined
notify: supervisor | reload supervisor
tags: tags:
- deploy - deploy
...@@ -45,12 +46,10 @@ ...@@ -45,12 +46,10 @@
src=workers.conf.j2 dest={{ supervisor_cfg_dir }}/workers.conf src=workers.conf.j2 dest={{ supervisor_cfg_dir }}/workers.conf
owner={{ supervisor_user }} group={{ common_web_user }} mode=0644 owner={{ supervisor_user }} group={{ common_web_user }} mode=0644
when: celery_worker is defined when: celery_worker is defined
notify: supervisor | reload supervisor
tags: tags:
- deploy - deploy
- name: supervisor | reload supervisor
shell: "{{ supervisor_ctl }} -c {{ supervisor_cfg }} reload"
# Gather assets using rake if possible # Gather assets using rake if possible
- name: edxapp | gather {{ item }} static assets with rake - name: edxapp | gather {{ item }} static assets with rake
......
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