mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-07-03 20:47:38 +00:00
Update qbittorrent.sh (#5661)
This commit is contained in:
@ -31,7 +31,7 @@ function update_script() {
|
|||||||
touch /opt/${APP}_version.txt
|
touch /opt/${APP}_version.txt
|
||||||
mkdir -p $HOME/.config/qBittorrent/
|
mkdir -p $HOME/.config/qBittorrent/
|
||||||
mkdir -p /opt/qbittorrent/
|
mkdir -p /opt/qbittorrent/
|
||||||
mv /.config/qBittorrent $HOME/.config/
|
[ -d "/.config/qBittorrent" ] && mv /.config/qBittorrent "$HOME/.config/"
|
||||||
$STD apt-get remove --purge -y qbittorrent-nox
|
$STD apt-get remove --purge -y qbittorrent-nox
|
||||||
sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service
|
sed -i 's@ExecStart=/usr/bin/qbittorrent-nox@ExecStart=/opt/qbittorrent/qbittorrent-nox@g' /etc/systemd/system/qbittorrent-nox.service
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
@ -67,4 +67,4 @@ description
|
|||||||
msg_ok "Completed Successfully!\n"
|
msg_ok "Completed Successfully!\n"
|
||||||
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}"
|
||||||
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
echo -e "${INFO}${YW} Access it using the following URL:${CL}"
|
||||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}"
|
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8090${CL}"
|
||||||
|
Reference in New Issue
Block a user