From 9f535345ddec47604bd4c88f6acaec0a94dfe581 Mon Sep 17 00:00:00 2001 From: unman Date: Wed, 17 Apr 2024 23:52:09 +0000 Subject: [PATCH] Mullvad - log out from account at shutdown --- mullvad/mullvad_logout.service | 12 ++++++++++++ mullvad/mullvad_logout.sh | 2 ++ 2 files changed, 14 insertions(+) create mode 100644 mullvad/mullvad_logout.service create mode 100644 mullvad/mullvad_logout.sh diff --git a/mullvad/mullvad_logout.service b/mullvad/mullvad_logout.service new file mode 100644 index 0000000..1be1492 --- /dev/null +++ b/mullvad/mullvad_logout.service @@ -0,0 +1,12 @@ +[Unit] +Description=Logout Mullvad account at shutdown +DefaultDependencies=no +Before=shutdown.target + +[Service] +Type=oneshot +ExecStart=/usr/local/bin/mullvad_logout.sh +TimeoutStartSec=0 + +[Install] +WantedBy=shutdown.target diff --git a/mullvad/mullvad_logout.sh b/mullvad/mullvad_logout.sh new file mode 100644 index 0000000..7709ca2 --- /dev/null +++ b/mullvad/mullvad_logout.sh @@ -0,0 +1,2 @@ +#!/bin/sh +mullvad account logout