From d0744d7445cd359b1edf44dfc52e103832c9f73f Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Fri, 2 Feb 2018 22:35:44 -0500 Subject: [PATCH] Delete stop.sh --- qbittorrent/stop.sh | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 qbittorrent/stop.sh diff --git a/qbittorrent/stop.sh b/qbittorrent/stop.sh deleted file mode 100644 index f809b48..0000000 --- a/qbittorrent/stop.sh +++ /dev/null @@ -1,15 +0,0 @@ - #!/bin/bash - - function trap_handler - { - echo "[info] Shutdown detected... copying config file to /config/qbittorrent" - yes | cp /root/.config/qBittorrent/qBittorrent.conf /config/qbittorrent/qBittorrent.conf - exit 0 - } - - trap trap_handler SIGINT SIGTERM SIGHUP - - while true - do - sleep 10 - done