Update start.sh

This commit is contained in:
MarkusMcNugen
2018-02-03 01:17:05 -05:00
committed by GitHub
parent 11f4e2cf18
commit 6e751ff481

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