Skip to content

Commit

Permalink
fix for emergency shutdown not stopping qbit
Browse files Browse the repository at this point in the history
  • Loading branch information
LooseSeal2 committed Jul 17, 2019
1 parent 7a0771d commit 5153237
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions menu/pgui/mountcheck.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,14 @@ while true; do
docker stop sabnzbd 1>/dev/null 2>&1
docker stop rutorrent 1>/dev/null 2>&1
docker stop deluge 1>/dev/null 2>&1
docker stop qbitorrent 1>/dev/null 2>&1
docker stop qbittorrent 1>/dev/null 2>&1
docker stop deluge-vpn 1>/dev/null 2>&1
docker stop transmission 1>/dev/null 2>&1
docker stop rflood-vpn 1>/dev/null 2>&1
docker stop rutorrent-vpn 1>/dev/null 2>&1
docker stop transmission-vpn 1>/dev/null 2>&1
docker stop jdownloader2 1>/dev/null 2>&1
docker stop jd2-openvpn 1>/dev/null 2>&1
elif [[ "$leftover" -gt "3000000" && "$diskspace27" == "1" ]]; then
docker start plex 1>/dev/null 2>&1
docker start emby 1>/dev/null 2>&1
Expand All @@ -63,7 +70,14 @@ while true; do
docker start sabnzbd 1>/dev/null 2>&1
docker start rutorrent 1>/dev/null 2>&1
docker start deluge 1>/dev/null 2>&1
docker start qbitorrent 1>/dev/null 2>&1
docker start qbittorrent 1>/dev/null 2>&1
docker start deluge-vpn 1>/dev/null 2>&1
docker start transmission 1>/dev/null 2>&1
docker start rflood-vpn 1>/dev/null 2>&1
docker start rutorrent-vpn 1>/dev/null 2>&1
docker start transmission-vpn 1>/dev/null 2>&1
docker start jdownloader2 1>/dev/null 2>&1
docker start jd2-openvpn 1>/dev/null 2>&1
rm -rf /opt/appdata/plexguide/emergency/message.1
diskspace27=0
fi
Expand Down

0 comments on commit 5153237

Please sign in to comment.