mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-26 11:01:42 +00:00
Update start.sh
This commit is contained in:
parent
35f7eaee06
commit
0ade3513c1
@ -11,7 +11,7 @@ _handler() {
|
||||
fi
|
||||
}
|
||||
|
||||
trap _handler SIGINT SIGTERM SIGHUP
|
||||
#trap _handler SIGINT SIGTERM SIGHUP
|
||||
|
||||
if [[ ! -e /config/qBittorrent ]]; then
|
||||
mkdir -p /config/qBittorrent/config/
|
||||
@ -24,7 +24,7 @@ if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
||||
fi
|
||||
|
||||
echo "[info] Starting qBittorrent daemon..." | ts '%Y-%m-%d %H:%M:%.S'
|
||||
/etc/qbittorrent/qbittorrent.init &
|
||||
/etc/qbittorrent/qbittorrent.init start
|
||||
|
||||
while true; do
|
||||
if [ -e /config/qBittorrent ]; then
|
||||
@ -36,5 +36,5 @@ while true; do
|
||||
fi
|
||||
done
|
||||
|
||||
child=$(pgrep -o -x qbittorrent-nox)
|
||||
wait "$child"
|
||||
#child=$(pgrep -o -x qbittorrent-nox)
|
||||
#wait "$child"
|
||||
|
Loading…
Reference in New Issue
Block a user