Add gp-suspend.service

This commit is contained in:
Kevin Yue committed 2024-03-27 09:58:30 -04:00
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