Skip to content

Commit

Permalink
Merge pull request #8 from linuxserver/home
Browse files Browse the repository at this point in the history
Move HOME to /config
  • Loading branch information
thespad authored Feb 19, 2024
2 parents e34c85b + c3b70f0 commit 8025cdf
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ARG SPEEDTEST_TRACKER_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thespad"

ENV HOME=/config

RUN \
apk add --no-cache \
grep \
Expand Down
2 changes: 2 additions & 0 deletions Dockerfile.aarch64
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ ARG SPEEDTEST_TRACKER_VERSION
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
LABEL maintainer="thespad"

ENV HOME=/config

RUN \
apk add --no-cache \
grep \
Expand Down
2 changes: 2 additions & 0 deletions root/etc/s6-overlay/s6-rc.d/init-speedtest-tracker-config/run
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ if [[ "${DB_CONNECTION:=sqlite}" = "sqlite" ]]; then
fi
lsiown abc:abc /app/www/database/database.sqlite
fi
export DB_CONNECTION=sqlite
echo "sqlite" > /run/s6/container_environment/DB_CONNECTION
elif [[ "${DB_CONNECTION}" = "mysql" ]]; then
echo "Waiting for DB to be available"
END=$((SECONDS + 30))
Expand Down

0 comments on commit 8025cdf

Please sign in to comment.