Update stop.sh

This commit is contained in:
MarkusMcNugen 2018-02-02 22:06:14 -05:00 committed by GitHub
parent 63d755495a
commit 9558fa0565
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,8 +2,9 @@
function trap_handler
{
echo "Shutdown detected... copying config file to /config/qbittorrent"
echo "[info] Shutdown detected... copying config file to /config/qbittorrent"
cp /home/$USER/.config/qBittorrent/qBittorrent.conf /config/qbittorrent/qBittorrent.conf
exit 0
}
trap trap_handler SIGINT SIGTERM SIGHUP