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
6af5b694
Commit
6af5b694
authored
Jun 20, 2013
by
Feanil Patel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix xserver upstart template issues.
parent
1819cdce
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
playbooks/roles/xserver/tasks/main.yml
+2
-2
playbooks/roles/xserver/templates/xserver.conf.j2
+1
-1
No files found.
playbooks/roles/xserver/tasks/main.yml
View file @
6af5b694
...
...
@@ -14,7 +14,7 @@
command
:
/usr/local/bin/virtualenv {{ xserver_sandbox_venv_dir }} --distribute creates={{ xserver_sandbox_venv_dir }}/bin/activate
-
name
:
set sandbox sudoers settings
copy
:
src=sandbox.sudoers dest=/etc/sudoers.d/99-sandbox mode=0440
copy
:
src=sandbox.sudoers dest=/etc/sudoers.d/99-sandbox mode=0440
owner=root group=root
# Make sure this line is in the common-session file.
-
name
:
ensure pam-limits module is loaded
...
...
@@ -42,7 +42,7 @@
command
:
aa-enforce {{ xserver_sandbox_venv_dir }}
-
name
:
setup upstart script
template
:
src=xserver.conf.j2 dest=/etc/init/xserver
_
conf owner=root group=root
template
:
src=xserver.conf.j2 dest=/etc/init/xserver
.
conf owner=root group=root
-
name
:
install system dependencies of xserver
apt
:
pkg={{ item }} state=present
...
...
playbooks/roles/xserver/templates/xserver.conf.j2
View file @
6af5b694
...
...
@@ -19,7 +19,7 @@ env DJANGO_SETTINGS_MODULE=xserver_aws_settings
env SERVICE_VARIANT="xserver"
chdir
/opt/wwc/xserver
chdir
{{ xserver_code_dir }}
setuid www-data
exec {{ venv_dir }}/bin/gunicorn --preload -b 127.0.0.1:$PORT -w $WORKERS --timeout=30 --pythonpath={{ xserver_code_dir }} pyxserver_wsgi:application
...
...
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