Skip to content

Commit 8025cdf

Browse files
authored
Merge pull request #8 from linuxserver/home
Move HOME to /config
2 parents e34c85b + c3b70f0 commit 8025cdf

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG SPEEDTEST_TRACKER_VERSION
88
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
99
LABEL maintainer="thespad"
1010

11+
ENV HOME=/config
12+
1113
RUN \
1214
apk add --no-cache \
1315
grep \

Dockerfile.aarch64

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ ARG SPEEDTEST_TRACKER_VERSION
88
LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
99
LABEL maintainer="thespad"
1010

11+
ENV HOME=/config
12+
1113
RUN \
1214
apk add --no-cache \
1315
grep \

root/etc/s6-overlay/s6-rc.d/init-speedtest-tracker-config/run

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ if [[ "${DB_CONNECTION:=sqlite}" = "sqlite" ]]; then
2020
fi
2121
lsiown abc:abc /app/www/database/database.sqlite
2222
fi
23+
export DB_CONNECTION=sqlite
24+
echo "sqlite" > /run/s6/container_environment/DB_CONNECTION
2325
elif [[ "${DB_CONNECTION}" = "mysql" ]]; then
2426
echo "Waiting for DB to be available"
2527
END=$((SECONDS + 30))

0 commit comments

Comments
 (0)