🗃️ Update codebase 🗃️
Some checks failed
release-tag / release-image (push) Failing after 1s

rootfs/usr/local/etc/docker/init.d/00-opengist.sh
This commit is contained in:
casjay
2025-11-29 15:03:05 -05:00
parent 3d43b8a912
commit 9d28639a1f

View File

@@ -171,7 +171,7 @@ user_pass="${OPENGIST_USER_PASS_WORD:-}" # normal user password
[ -f "/config/env/opengist.sh" ] && . "/config/env/opengist.sh" # Overwrite the variabes [ -f "/config/env/opengist.sh" ] && . "/config/env/opengist.sh" # Overwrite the variabes
# - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - -
# Additional predefined variables # Additional predefined variables
DATABASE_DIR="/data/db/sqlite"
# - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - -
# Additional variables # Additional variables
@@ -261,7 +261,7 @@ __update_conf_files() {
# - - - - - - - - - - - - - - - - - - - - - - - - - # - - - - - - - - - - - - - - - - - - - - - - - - -
# define actions # define actions
[ "$DATABASE_DIR" ] && chown -Rf $SERVICE_USER:$SERVICE_GROUP "$DATABASE_DIR"
# allow custom functions # allow custom functions
if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi
# exit function # exit function