|
- cd /rootwget https://github.com/userdocs/qbittorrent-nox-static/releases/download/release-4.4.2_v2.0.6/x86_64-qbittorrent-noxchmod +x x86_64-qbittorrent-nox./x86_64-qbittorrent-nox
复制代码 输入y 然后ctrl+c退出就行- cat << "EOF" > /etc/systemd/system/qbittorrent.service[Unit]Description=qBittorrent Daemon ServiceAfter=network.target[Service]LimitNOFILE=512000User=rootExecStart=/root/x86_64-qbittorrent-noxExecStop=/usr/bin/kill -w qbittorrent-nox[Install]WantedBy=multi-user.targetEOF
复制代码- # 更新配置systemctl daemon-reload# 启动服务systemctl start qbittorrent# 停止服务systemctl stop qbittorrent# 重启服务systemctl restart qbittorrent# 查看状态systemctl status qbittorrent
复制代码 |
|