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