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
OpenEdx
configuration
Commits
d56155bd
Commit
d56155bd
authored
Oct 24, 2013
by
John Jarvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adding supervisor cfg
parent
4e6e2680
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
playbooks/roles/supervisor/defaults/main.yml
+1
-1
playbooks/roles/supervisor/templates/supervisord.conf.j2
+3
-3
No files found.
playbooks/roles/supervisor/defaults/main.yml
View file @
d56155bd
...
@@ -22,5 +22,5 @@ supervisor_venv_bin: "{{ supervisor_venv_dir }}/bin"
...
@@ -22,5 +22,5 @@ supervisor_venv_bin: "{{ supervisor_venv_dir }}/bin"
# which by default is set to www-data in
# which by default is set to www-data in
# the common role
# the common role
supervisor_user
:
"
{{
common_web_user
}}"
supervisor_user
:
"
{{
common_web_user
}}"
edxapp
_log_dir
:
"
{{
log_dir
}}/supervisor"
supervisor
_log_dir
:
"
{{
log_dir
}}/supervisor"
supervisor_cfg
:
"
{{
supervisor_app_dir
}}/supervisord.conf"
supervisor_cfg
:
"
{{
supervisor_app_dir
}}/supervisord.conf"
playbooks/roles/supervisor/templates/supervisord.conf.j2
View file @
d56155bd
; supervisor config file
; supervisor config file
[unix_http_server]
[unix_http_server]
file=
/var/run/
/supervisor.sock ; (the path to the socket file)
file=
{{ supervisor_data_dir }}
/supervisor.sock ; (the path to the socket file)
chmod=0700 ; sockef file mode (default 0700)
chmod=0700 ; sockef file mode (default 0700)
[supervisord]
[supervisord]
logfile=
/var/log/supervisor
/supervisord.log ; (main log file;default $CWD/supervisord.log)
logfile=
{{ supervisor_log_dir }}
/supervisord.log ; (main log file;default $CWD/supervisord.log)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP)
...
@@ -25,5 +25,5 @@ serverurl=unix:///var/run//supervisor.sock ; use a unix:// URL for a unix socke
...
@@ -25,5 +25,5 @@ serverurl=unix:///var/run//supervisor.sock ; use a unix:// URL for a unix socke
; include files themselves.
; include files themselves.
[include]
[include]
files =
/etc/supervisor/conf.d
/*.conf
files =
{{ supervisor_cfg_dir }}
/*.conf
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