mirror of
				https://gitea.publichub.eu/oscar.krause/fastapi-dls.git
				synced 2025-11-04 06:46:09 +00:00 
			
		
		
		
	fixed service
This commit is contained in:
		@@ -10,13 +10,14 @@ After=network.target
 | 
				
			|||||||
User=www-data
 | 
					User=www-data
 | 
				
			||||||
Group=www-data
 | 
					Group=www-data
 | 
				
			||||||
WorkingDirectory=/usr/share/fastapi-dls
 | 
					WorkingDirectory=/usr/share/fastapi-dls
 | 
				
			||||||
ExecStart=uvicorn \
 | 
					EnvironmentFile=/etc/fastapi-dls.env
 | 
				
			||||||
 | 
					ExecStart=uvicorn main:app \
 | 
				
			||||||
 | 
					  --env-file /etc/fastapi-dls.env \
 | 
				
			||||||
  --host $DLS_URL --port $DLS_PORT \
 | 
					  --host $DLS_URL --port $DLS_PORT \
 | 
				
			||||||
  --app-dir /usr/share/fastapi-dls/app \
 | 
					  --app-dir /usr/share/fastapi-dls/app \
 | 
				
			||||||
  --ssl-keyfile /etc/fastapi-dls/webserver.key \
 | 
					  --ssl-keyfile /etc/fastapi-dls/webserver.key \
 | 
				
			||||||
  --ssl-certfile /opt/fastapi-dls/webserver.crt \
 | 
					  --ssl-certfile /opt/fastapi-dls/webserver.crt \
 | 
				
			||||||
  --proxy-headers
 | 
					  --proxy-headers
 | 
				
			||||||
EnvironmentFile=/etc/fastapi-dls.env
 | 
					 | 
				
			||||||
Restart=always
 | 
					Restart=always
 | 
				
			||||||
KillSignal=SIGQUIT
 | 
					KillSignal=SIGQUIT
 | 
				
			||||||
Type=notify
 | 
					Type=notify
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user