mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 18:45:25 +00:00
Update stop.sh
This commit is contained in:
parent
63d755495a
commit
9558fa0565
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user