fix: create initial traefik folder
This commit is contained in:
parent
307726706a
commit
25ad967ccb
2 changed files with 10 additions and 3 deletions
|
@ -79,19 +79,22 @@ mkdir -p app-data
|
|||
mkdir -p state
|
||||
mkdir -p repos
|
||||
|
||||
mkdir -p traefik/shared
|
||||
mkdir -p traefik/tls
|
||||
|
||||
mkdir -p media/torrents
|
||||
mkdir -p media/torrents/watch
|
||||
mkdir -p media/torrents/completed
|
||||
mkdir -p media/torrents/complete
|
||||
mkdir -p media/torrents/incomplete
|
||||
|
||||
mkdir -p media/usenet
|
||||
mkdir -p media/usenet/watch
|
||||
mkdir -p media/usenet/completed
|
||||
mkdir -p media/usenet/complete
|
||||
mkdir -p media/usenet/incomplete
|
||||
|
||||
mkdir -p media/downloads
|
||||
mkdir -p media/downloads/watch
|
||||
mkdir -p media/downloads/completed
|
||||
mkdir -p media/downloads/complete
|
||||
mkdir -p media/downloads/incomplete
|
||||
|
||||
mkdir -p media/data
|
||||
|
|
|
@ -28,6 +28,10 @@ sudo "${ROOT_FOLDER}/scripts/configure.sh"
|
|||
mkdir -p "${ROOT_FOLDER}/state"
|
||||
STATE_FOLDER="${ROOT_FOLDER}/state"
|
||||
|
||||
mkdir -p traefik
|
||||
mkdir -p traefik/shared
|
||||
mkdir -p traefik/tls
|
||||
|
||||
if [[ ! -f "${STATE_FOLDER}/seed" ]]; then
|
||||
echo "Generating seed..."
|
||||
mkdir -p "${STATE_FOLDER}"
|
||||
|
|
Loading…
Reference in a new issue