mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-04-18 19:25:07 -04:00
14 lines
279 B
Text
14 lines
279 B
Text
#!/usr/bin/with-contenv bash
|
||
|
||
# make our folders
|
||
mkdir -p \
|
||
/config/qBittorrent \
|
||
/config/data
|
||
|
||
# copy config
|
||
[[ ! -e /config/qBittorrent/qBittorrent.conf ]] && \
|
||
cp /defaults/qBittorrent.conf /config/qBittorrent/qBittorrent.conf
|
||
|
||
# permissions
|
||
chown -R abc:abc \
|
||
/config
|