mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-22 18:45:25 +00:00
Delete stop.sh
This commit is contained in:
parent
ef5022a7b7
commit
d0744d7445
@ -1,15 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
function trap_handler
|
||||
{
|
||||
echo "[info] Shutdown detected... copying config file to /config/qbittorrent"
|
||||
yes | cp /root/.config/qBittorrent/qBittorrent.conf /config/qbittorrent/qBittorrent.conf
|
||||
exit 0
|
||||
}
|
||||
|
||||
trap trap_handler SIGINT SIGTERM SIGHUP
|
||||
|
||||
while true
|
||||
do
|
||||
sleep 10
|
||||
done
|
Loading…
Reference in New Issue
Block a user