Add WSGI components and README
This commit is contained in:
		
							parent
							
								
									c570200b2f
								
							
						
					
					
						commit
						9d424a8959
					
				
					 8 changed files with 60 additions and 15 deletions
				
			
		
							
								
								
									
										13
									
								
								liteshort.service
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								liteshort.service
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,13 @@
 | 
			
		|||
[Unit]
 | 
			
		||||
Description=uWSGI instance to serve liteshort
 | 
			
		||||
After=network.target
 | 
			
		||||
 | 
			
		||||
[Service]
 | 
			
		||||
User=
 | 
			
		||||
Group=www-data
 | 
			
		||||
WorkingDirectory=/path/to/install
 | 
			
		||||
Environment="PATH=/path/to/install/virtualenv/bin"
 | 
			
		||||
ExecStart=/path/to/install/virtualenv/bin/uwsgi --ini liteshort.ini
 | 
			
		||||
 | 
			
		||||
[Install]
 | 
			
		||||
WantedBy=multi-user.target
 | 
			
		||||
		Reference in a new issue