mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			17 lines
		
	
	
		
			305 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
			
		
		
	
	
			17 lines
		
	
	
		
			305 B
		
	
	
	
		
			Desktop File
		
	
	
	
	
	
| [Unit]
 | |
| Description=raspap-restapi
 | |
| After=network.target
 | |
| 
 | |
| [Service]
 | |
| User=pi
 | |
| WorkingDirectory=/etc/raspap/api
 | |
| LimitNOFILE=4096
 | |
| ExecStart=/usr/bin/python3 -m uvicorn main:app --host 0.0.0.0 --port 8081
 | |
| ExecStop=/bin/kill -HUP ${MAINPID}
 | |
| Restart=on-failure
 | |
| RestartSec=5s
 | |
| 
 | |
| [Install]
 | |
| WantedBy=multi-user.target
 | |
| 
 |