From 6e751ff4818b3e7f3b181247793661f8d2a185be Mon Sep 17 00:00:00 2001 From: MarkusMcNugen Date: Sat, 3 Feb 2018 01:17:05 -0500 Subject: [PATCH] Update start.sh --- qbittorrent/start.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/qbittorrent/start.sh b/qbittorrent/start.sh index c409dd6..2267f39 100644 --- a/qbittorrent/start.sh +++ b/qbittorrent/start.sh @@ -1,6 +1,7 @@ #!/bin/bash +set -x - function trap_handler +function trap_handler { echo "[info] Shutdown detected... copying config file to /config/qbittorrent" yes | cp /root/.config/qBittorrent/qBittorrent.conf /config/qbittorrent/qBittorrent.conf