1.安装
apt install qbittorrent-nox
adduser --system --group --home /var/lib/qbittorrent-nox --shell /bin/false qbittorrent
3.添加 systemd service
nano /etc/systemd/system/qbittorrent-nox.service
[Unit]
Description=qBittorrent Command Line Client
After=network.target
[Service]
User=your_username
Group=your_group
ExecStart=/usr/bin/qbittorrent-nox --webui-port=8080
Restart=on-failure
[Install]
WantedBy=multi-user.target
3.启动服务。