mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-11-14 22:55:11 +00:00
Update start.sh
This commit is contained in:
parent
edf57edc2b
commit
cc9271bc7c
@ -13,6 +13,10 @@ _handler() {
|
|||||||
|
|
||||||
trap _handler SIGINT SIGTERM SIGHUP
|
trap _handler SIGINT SIGTERM SIGHUP
|
||||||
|
|
||||||
|
if [[ ! -e /config/qBittorrent ]]; then
|
||||||
|
mkdir -p /config/qBittorrent/config/
|
||||||
|
fi
|
||||||
|
|
||||||
if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
|
||||||
yes | cp /etc/qbittorrent/qBittorrent.conf /config/qBittorrent/config/qBittorrent.conf
|
yes | cp /etc/qbittorrent/qBittorrent.conf /config/qBittorrent/config/qBittorrent.conf
|
||||||
chmod 755 /config/qBittorrent/config/qBittorrent.conf
|
chmod 755 /config/qBittorrent/config/qBittorrent.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user