mirror of
				https://github.com/h44z/wg-portal.git
				synced 2025-11-03 23:56:18 +00:00 
			
		
		
		
	
		
			
	
	
		
			19 lines
		
	
	
		
			342 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
		
		
			
		
	
	
			19 lines
		
	
	
		
			342 B
		
	
	
	
		
			SYSTEMD
		
	
	
	
	
	
| 
								 | 
							
								[Unit]
							 | 
						||
| 
								 | 
							
								Description=WireGuard Portal
							 | 
						||
| 
								 | 
							
								ConditionPathExists=/opt/wg-portal/wg-portal-amd64
							 | 
						||
| 
								 | 
							
								After=network.target
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[Service]
							 | 
						||
| 
								 | 
							
								Type=simple
							 | 
						||
| 
								 | 
							
								User=root
							 | 
						||
| 
								 | 
							
								Group=root
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Restart=on-failure
							 | 
						||
| 
								 | 
							
								RestartSec=10
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								WorkingDirectory=/opt/wg-portal
							 | 
						||
| 
								 | 
							
								ExecStart=/opt/wg-portal/wg-portal-amd64
							 | 
						||
| 
								 | 
							
								EnvironmentFile=/opt/wg-portal/wg-portal.env
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								[Install]
							 | 
						||
| 
								 | 
							
								WantedBy=multi-user.target
							 |