scripts/bash/usr-local-bin/qbittorrent

16 lines
345 B
Bash
Executable File

#!/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
nordvpn set killswitch on
nordvpn set autoconnect on
nordvpn status
sudo systemctl restart yggdrasil.service
flatpak run org.qbittorrent.qBittorrent "$@"
set +x