From 29d1affcd8a13d56583b180b8ac27bedbec4daf1 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Sat, 26 Jul 2025 12:00:43 -0700 Subject: [PATCH] Be more specific about the docker home location, rather than accidentally promoting the use of a variable which would not work. --- Config/LibreTranslate/README.md | 2 +- Config/LibreTranslate/env.example | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Config/LibreTranslate/README.md b/Config/LibreTranslate/README.md index 76bcf27..a112d95 100644 --- a/Config/LibreTranslate/README.md +++ b/Config/LibreTranslate/README.md @@ -20,7 +20,7 @@ vi .env that `prep.sh` is in `root`'s crontab. ``` -@reboot $DOCKER_HOME/Config/LibreTranslate/prep.sh +@reboot /opt/Docker/Config/LibreTranslate/prep.sh ``` 3. Start the container up as normal. diff --git a/Config/LibreTranslate/env.example b/Config/LibreTranslate/env.example index d5a9171..2107396 100644 --- a/Config/LibreTranslate/env.example +++ b/Config/LibreTranslate/env.example @@ -40,7 +40,8 @@ MODELS_DIR=../../Volumes/LibreTranslate/models # MODELS_DIR= ## Storing them in /tmp/ will cause them to get reset after reboots, but hides -## them from backup type locations such as Volumes/LibreTranslate and /var/. -## This will require a CRON entry for prepping the project after a reboot. -## `@reboot $DOCKER_HOME/Config/LibreTranslate/prep.sh` +## them from backup type locations such as Volumes/LibreTranslate/ and /var/. +## This will require a CRON entry for prepping the project dirs after a reboot. +## `@reboot /YOUR_DOCKER_HOME/Config/LibreTranslate/prep.sh` +## # MODELS_DIR=/tmp/LibreTranslate/models