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