Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 01:17:05 -05:00 committed by GitHub
parent 11f4e2cf18
commit 6e751ff481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
#!/bin/bash #!/bin/bash
set -x
function trap_handler function trap_handler
{ {
echo "[info] Shutdown detected... copying config file to /config/qbittorrent" echo "[info] Shutdown detected... copying config file to /config/qbittorrent"
yes | cp /root/.config/qBittorrent/qBittorrent.conf /config/qbittorrent/qBittorrent.conf yes | cp /root/.config/qBittorrent/qBittorrent.conf /config/qbittorrent/qBittorrent.conf