这里写自定义目录标题
1、增加qbittorrent源,该源可以安装新版
sudo add-apt-repository ppa:hydr0g3n/qbittorrent-stable
2、安装qbittorrent
sudo apt install qbittorrent-nox
3、设置服务脚本
sudo nano /etc/systemd/system/qbittorrent-nox.service
然后输入以下内容:
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=forking
RemainAfterExit=yes
ExecStart=/usr/bin/qbittorrent-nox -d
[Install]
WantedBy=multi-user.target
4、设置服务自动
systemctl enable qbittorrent-nox
5、如需修改配置,在以下配置文件修改
/root/.config/qBittorrent/qBittorrent.conf