mirror of
				https://github.com/yuezk/GlobalProtect-openconnect.git
				synced 2025-05-20 07:26:58 -04:00 
			
		
		
		
	Add gp-suspend.service
This commit is contained in:
		
							
								
								
									
										10
									
								
								packaging/files/usr/lib/systemd/system/gp-suspend.service
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										10
									
								
								packaging/files/usr/lib/systemd/system/gp-suspend.service
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,10 @@ | ||||
| [Unit] | ||||
| Description=Disconnect from the VPN when suspending | ||||
| Before=sleep.target | ||||
|  | ||||
| [Service] | ||||
| Type=oneshot | ||||
| ExecStart=/usr/bin/gpclient disconnect | ||||
|  | ||||
| [Install] | ||||
| WantedBy=sleep.target | ||||
		Reference in New Issue
	
	Block a user