Commit 6d51d69c by Fred Smith

update paths to supervisor script, wrapper scripts

parent 2182d05f
......@@ -320,6 +320,20 @@
- install
- install:code
- name: "create service wrapper scripts - {{item}}"
template:
dest: "{{ edxapp_app_dir }}/{{item}}"
src: "edx/app/edxapp/{{item}}.j2"
owner: "{{ edxapp_user }}"
group: "{{ common_web_group }}"
mode: "og+rx"
with_items:
- "lms.sh"
- "cms.sh"
tags:
- install
- install:configuration
# creates the supervisor jobs for the
# service variants configured, runs
# gather_assets and db migrations
......
......@@ -19,7 +19,7 @@
# write the supervisor scripts for the service variants
- name: "writing {{ item }} supervisor script"
template:
src: "{{ item }}.conf.j2"
src: "edx/app/supervisor/conf.d.available/{{ item }}.conf.j2"
dest: "{{ supervisor_available_dir }}/{{ item }}.conf"
owner: "{{ supervisor_user }}"
group: "{{ supervisor_user }}"
......@@ -33,7 +33,7 @@
# write the supervisor script for edxapp and celery workers
- name: writing edxapp and celery supervisor scripts
template:
src: "{{ item }}.j2"
src: "edx/app/supervisor/conf.d.available/{{ item }}.j2"
dest: "{{ supervisor_available_dir }}/{{ item }}"
owner: "{{ supervisor_user }}"
group: "{{ supervisor_user }}"
......
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