mirror of
				https://git.collinwebdesigns.de/oscar.krause/fastapi-dls.git
				synced 2025-10-26 18:05:28 +03:00 
			
		
		
		
	
		
			
	
	
		
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			332 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
| 
								 | 
							
								[Unit]
							 | 
						||
| 
								 | 
							
								Description=FastAPI-DLS
							 | 
						||
| 
								 | 
							
								Documentation=https://git.collinwebdesigns.de/oscar.krause/fastapi-dls
							 | 
						||
| 
								 | 
							
								After=network.target
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[Service]
							 | 
						||
| 
								 | 
							
								Type=forking
							 | 
						||
| 
								 | 
							
								EnvironmentFile=/etc/default/fastapi-dls
							 | 
						||
| 
								 | 
							
								ExecStart=/usr/bin/python /opt/fastapi-dls/main.py
							 | 
						||
| 
								 | 
							
								WorkingDir=/opt/fastapi-dls
							 | 
						||
| 
								 | 
							
								Restart=on-abort
							 | 
						||
| 
								 | 
							
								User=root
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[Install]
							 | 
						||
| 
								 | 
							
								WantedBy=multi-user.target
							 |