Update start.sh

This commit is contained in:
MarkusMcNugen 2018-02-03 05:06:05 -05:00 committed by GitHub
parent 22bac8e8df
commit 22f963534d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,7 +22,6 @@ if [[ ! -f /config/qbittorrent/qBittorrent.conf ]]; then
# Else create directories and copy conf from config volume # Else create directories and copy conf from config volume
else else
echo "qBittorrent config file exists in /config, copying to qbittorrent config directory" | ts '%Y-%m-%d %H:%M:%.S' echo "qBittorrent config file exists in /config, copying to qbittorrent config directory" | ts '%Y-%m-%d %H:%M:%.S'
mkdir -p /root/.config
mkdir -p /root/.config/qBittorrent/ mkdir -p /root/.config/qBittorrent/
yes | cp /config/qbittorrent/qBittorrent.conf /root/.config/qBittorrent/qBittorrent.conf yes | cp /config/qbittorrent/qBittorrent.conf /root/.config/qBittorrent/qBittorrent.conf
chmod 644 /root/.config/qBittorrent/qBittorrent.conf chmod 644 /root/.config/qBittorrent/qBittorrent.conf