mirror of
https://github.com/hoellen/dockerfiles.git
synced 2025-09-03 21:57:27 +00:00
boinc
boring-nginx
cowrie
ghost
isso
lutim
lychee
nextcloud
nginx
piwik
privatebin
rainloop
rtorrent-flood
s6.d
Dockerfile
README.md
config.js
postdl
postrm
rtorrent.rc
run.sh
rutorrent
searx
subsonic
tor
LICENSE
16 lines
413 B
Bash
16 lines
413 B
Bash
#!/bin/sh
|
|
|
|
mkdir -p /data/torrents
|
|
mkdir -p /data/.watch
|
|
mkdir -p /data/.session
|
|
mkdir -p /data/Media/Movies
|
|
mkdir -p /data/Media/TV
|
|
mkdir -p /data/Media/Animes
|
|
mkdir -p /data/Media/Music
|
|
|
|
sed -i -e "s/<FLOOD_SECRET>/$FLOOD_SECRET/g" /usr/flood/config.js
|
|
rm -f /data/.session/rtorrent.lock
|
|
chown -R $UID:$GID /data /home/torrent /tmp /filebot /usr/flood /etc/s6.d
|
|
|
|
exec su-exec $GID:$UID /bin/s6-svscan /etc/s6.d
|