scripts/bash/usr-local-bin/qbittorrent

16 lines
355 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
set -x
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