Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
2cebdbfb
Commit
2cebdbfb
authored
Oct 28, 2015
by
Max Rothman
Committed by
Max Rothman
Oct 28, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Also refactor hipchat conditional for readability
parent
29d2508f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletions
+5
-1
playbooks/roles/supervisor/templates/etc/init/pre_supervisor.conf.j2
+5
-1
No files found.
playbooks/roles/supervisor/templates/etc/init/pre_supervisor.conf.j2
View file @
2cebdbfb
...
...
@@ -41,4 +41,8 @@ setuid {{ supervisor_user }}
{% set analytics_api_command = "" %}
{% endif %}
exec {{ supervisor_venv_dir }}/bin/python {{ supervisor_app_dir }}/pre_supervisor_checks.py --available={{ supervisor_available_dir }} --enabled={{ supervisor_cfg_dir }} {% if SUPERVISOR_HIPCHAT_API_KEY is defined %}--hipchat-api-key {{ SUPERVISOR_HIPCHAT_API_KEY }} --hipchat-room {{ SUPERVISOR_HIPCHAT_ROOM }} {% endif %} {{ programs_command }} {{ edxapp_command }} {{ xqueue_command }} {{ ecommerce_command }} {{ insights_command }} {{ analytics_api_command }}
{% if SUPERVISOR_HIPCHAT_API_KEY is defined %}
{% set hipchat_command = "--hipchat-api-key {{ SUPERVISOR_HIPCHAT_API_KEY }} --hipchat-room {{ SUPERVISOR_HIPCHAT_ROOM }}" %}
{% endif %}
exec {{ supervisor_venv_dir }}/bin/python {{ supervisor_app_dir }}/pre_supervisor_checks.py --available={{ supervisor_available_dir }} --enabled={{ supervisor_cfg_dir }} {{ hipchat_command }} {{ programs_command }} {{ edxapp_command }} {{ xqueue_command }} {{ ecommerce_command }} {{ insights_command }} {{ analytics_api_command }}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment