mirror of
				https://gitlab.crans.org/mediatek/med.git
				synced 2025-11-04 05:02:19 +01:00 
			
		
		
		
	Socket need to be accessible by apache
This commit is contained in:
		
				
					committed by
					
						
						club-med
					
				
			
			
				
	
			
			
			
						parent
						
							9ecd876923
						
					
				
				
					commit
					6f60de1838
				
			@@ -15,7 +15,7 @@ python manage.py collectstatic --no-input
 | 
			
		||||
# harakiri parameter respawns processes taking more than 20 seconds
 | 
			
		||||
# max-requests parameter respawns processes after serving 5000 requests
 | 
			
		||||
# vacuum parameter cleans up when stopped
 | 
			
		||||
uwsgi --socket "$(pwd)/uwsgi.sock" --chmod-socket=600 --master --plugins python3 \
 | 
			
		||||
uwsgi --socket "$HOME/www/uwsgi.sock" --chmod-socket=666 --master --plugins python3 \
 | 
			
		||||
      --module med.wsgi:application --env DJANGO_SETTINGS_MODULE=med.settings \
 | 
			
		||||
      --processes 4 --harakiri=20 --max-requests=5000 --vacuum \
 | 
			
		||||
      --static-map /static="$(pwd)/static" --protocol=fastcgi
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user