scripts/bash/usr-local-bin/qbittorrent

17 lines
376 B
Bash
Executable File

#!/usr/bin/env bash
set -x
export LC_ALL=C.utf8
sudo systemctl start nordvpnd.socket
sleep 5
sudo systemctl start nordvpnd.service
sleep 5
systemctl status nordvpnd.service --no-pager
nordvpn connect p2p || exit 1
nordvpn set killswitch on
nordvpn set autoconnect on
nordvpn status
sudo systemctl restart yggdrasil.service
flatpak run org.qbittorrent.qBittorrent "$@"
set +x