Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 09:30:10 -05:00 committed by GitHub
parent edf57edc2b
commit cc9271bc7c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -13,6 +13,10 @@ _handler() {
trap _handler SIGINT SIGTERM SIGHUP
if [[ ! -e /config/qBittorrent ]]; then
mkdir -p /config/qBittorrent/config/
fi
if [[ ! -e /config/qBittorrent/config/qBittorrent.conf ]]; then
yes | cp /etc/qbittorrent/qBittorrent.conf /config/qBittorrent/config/qBittorrent.conf
chmod 755 /config/qBittorrent/config/qBittorrent.conf