安装 qBittorrent-nox
apt update
apt install qbittorrent-nox
添加开机自启动
vim /etc/systemd/system/qbittorrent-nox.service
输入以下文本保存
[Unit]
Description=qBittorrent-nox
After=network.target
[Service]
User=root
Type=forking
RemainAfterExit=yes
ExecStart=/opt/qbittorrent/qbittorrent-nox -d
[Install]
WantedBy=multi-user.target
输入以下命令
#启动 qbittorrent-nox 并创建服务配置
systemctl start qbittorrent-nox
设置开机自动启动 qbittorrent-nox
systemctl enable qbittorrent-nox
教程完毕
补充说明:
/opt/qbittorrent 手劫安装软件目录 也可以按默认: ExecStart=qbittorrent-nox -d