Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
068137d1
Verified
Commit
068137d1
authored
3 years ago
by
ynerant
Browse files
Options
Downloads
Patches
Plain Diff
[helloworld] Clean uWSGI configuration
Signed-off-by:
Yohann D'ANELLO
<
ynerant@crans.org
>
parent
521ccbd1
No related branches found
Branches containing commit
No related tags found
1 merge request
!315
Hello world!
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/printer/templates/uwsgi/apps-available/django-printer.ini.j2
+1
-6
1 addition, 6 deletions
...nter/templates/uwsgi/apps-available/django-printer.ini.j2
with
1 addition
and
6 deletions
roles/printer/templates/uwsgi/apps-available/django-printer.ini.j2
+
1
−
6
View file @
068137d1
...
...
@@ -5,18 +5,13 @@ uid = www-data
gid = www-data
# Django-related settings
# the base directory (full path)
chdir = {{ project_path }}
wsgi-file = {{ module_path }}/wsgi.py
module = printer.wsgi:application
plugin = python3
# process-related settings
# master
master = true
# maximum number of worker processes
processes = 10
# the socket (use the full path to be safe)
socket = /var/run/uwsgi/app/django-printer/django-printer.sock
# ... with appropriate permissions - may be needed
chmod-socket = 664
# clear environment on exit
vacuum = true
# Touch reload
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment