[helloworld] Clean uWSGI configuration
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>certbot_on_virtu
							parent
							
								
									521ccbd187
								
							
						
					
					
						commit
						068137d15a
					
				| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue