mirror of
https://github.com/linuxserver/docker-qbittorrent.git
synced 2025-06-27 17:00:42 -04:00
first save up
This commit is contained in:
commit
9d3781519b
12 changed files with 341 additions and 0 deletions
12
root/defaults/qBittorrent.conf
Normal file
12
root/defaults/qBittorrent.conf
Normal file
|
@ -0,0 +1,12 @@
|
|||
[AutoRun]
|
||||
enabled=false
|
||||
program=
|
||||
|
||||
[LegalNotice]
|
||||
Accepted=true
|
||||
|
||||
[Preferences]
|
||||
Connection\PortRangeMin=6881
|
||||
Downloads\SavePath=/downloads/
|
||||
Downloads\ScanDirsV2=@Variant(\0\0\0\x1c\0\0\0\0)
|
||||
Downloads\TempPath=/downloads/incomplete/
|
14
root/etc/cont-init.d/30-config
Normal file
14
root/etc/cont-init.d/30-config
Normal file
|
@ -0,0 +1,14 @@
|
|||
#!/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
|
8
root/etc/services.d/qbittorrent/run
Normal file
8
root/etc/services.d/qbittorrent/run
Normal file
|
@ -0,0 +1,8 @@
|
|||
#!/usr/bin/with-contenv bash
|
||||
|
||||
UMASK_SET=${UMASK_SET:-022}
|
||||
|
||||
umask "$UMASK_SET"
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc /usr/bin/qbittorrent-nox
|
Loading…
Add table
Add a link
Reference in a new issue