Delete stop.sh

This commit is contained in:
MarkusMcNugen
2018-02-02 22:35:44 -05:00
committed by GitHub
parent ef5022a7b7
commit d0744d7445

View File

@@ -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