mirror of
https://github.com/yuezk/GlobalProtect-openconnect.git
synced 2026-11-19 14:36:15 -05:00
Add gp-suspend.service
This commit is contained in:
1 parent
187ca778f2
commit
e602b3b018
10 files changed
+157
-10
No files matched your search
@@ -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