🗃️ Update codebase 🗃️
All checks were successful
release-tag / release-image (push) Successful in 7m50s

rootfs/usr/local/etc/docker/init.d/08-gitea.sh
rootfs/usr/local/etc/docker/init.d/zz-act_runner.sh
This commit is contained in:
casjay
2025-11-29 15:21:51 -05:00
parent 265f823955
commit a46ba76ca9
2 changed files with 2 additions and 3 deletions

View File

@@ -320,7 +320,7 @@ __update_conf_files() {
find "$DATA_DIR" -type d -exec chmod 0777 {} \;
chown -Rf $SERVICE_USER:$SERVICE_GROUP "$DATA_DIR" 2>/dev/null
fi
[ -f "$DATABASE_DIR/gitea.db" ] && chown -Rf $SERVICE_USER:$SERVICE_GROUP "$DATABASE_DIR/gitea.db" 2>/dev/null
[ -d "$DATABASE_DIR" ] && chown -Rf $SERVICE_USER:$SERVICE_GROUP "$DATABASE_DIR" 2>/dev/null
# allow custom functions
if builtin type -t __update_conf_files_local | grep -q 'function'; then __update_conf_files_local; fi