File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed
root/etc/s6-overlay/s6-rc.d/init-speedtest-tracker-config Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ ARG SPEEDTEST_TRACKER_VERSION
88LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
99LABEL maintainer="thespad"
1010
11+ ENV HOME=/config
12+
1113RUN \
1214 apk add --no-cache \
1315 grep \
Original file line number Diff line number Diff line change @@ -8,6 +8,8 @@ ARG SPEEDTEST_TRACKER_VERSION
88LABEL build_version="Linuxserver.io version:- ${VERSION} Build-date:- ${BUILD_DATE}"
99LABEL maintainer="thespad"
1010
11+ ENV HOME=/config
12+
1113RUN \
1214 apk add --no-cache \
1315 grep \
Original file line number Diff line number Diff 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
2325elif [[ "${DB_CONNECTION}" = "mysql" ]]; then
2426 echo "Waiting for DB to be available"
2527 END=$((SECONDS + 30))
You can’t perform that action at this time.
0 commit comments