systemd: add user units nordvpn-off.{service,timer}
This commit is contained in:
parent
ee8720a71b
commit
b3e2989c19
|
@ -0,0 +1,6 @@
|
|||
[Unit]
|
||||
Description=Disconnect and disable NordVPN on user systemd start
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/local/bin/nordvpn-off
|
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=Turn off NordVPN on login
|
||||
|
||||
[Timer]
|
||||
OnUnitActiveSec=1
|
||||
OnBootSec=2
|
||||
RandomizedDelaySec=3
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
Loading…
Reference in New Issue