From 59889d53cd4a07f7a1a35c6094bd4da4a96ae335 Mon Sep 17 00:00:00 2001 From: aptalca <541623+aptalca@users.noreply.github.com> Date: Sat, 5 Jul 2025 18:14:19 -0400 Subject: [PATCH] update init for 0.8.7 compatibility --- .editorconfig | 0 .github/CONTRIBUTING.md | 0 .github/FUNDING.yml | 0 .github/ISSUE_TEMPLATE/config.yml | 0 .github/ISSUE_TEMPLATE/issue.bug.yml | 0 .github/ISSUE_TEMPLATE/issue.feature.yml | 0 .github/workflows/call_issue_pr_tracker.yml | 0 .github/workflows/call_issues_cron.yml | 0 .github/workflows/external_trigger.yml | 0 .github/workflows/external_trigger_scheduler.yml | 0 .github/workflows/greetings.yml | 0 .github/workflows/package_trigger_scheduler.yml | 0 .github/workflows/permissions.yml | 0 Dockerfile | 2 +- Dockerfile.aarch64 | 2 +- LICENSE | 0 README.md | 1 + readme-vars.yml | 1 + root/donate.txt | 0 root/etc/s6-overlay/s6-rc.d/init-kavita-config/run | 2 +- 20 files changed, 5 insertions(+), 3 deletions(-) mode change 100755 => 100644 .editorconfig mode change 100755 => 100644 .github/CONTRIBUTING.md mode change 100755 => 100644 .github/FUNDING.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/config.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/issue.bug.yml mode change 100755 => 100644 .github/ISSUE_TEMPLATE/issue.feature.yml mode change 100755 => 100644 .github/workflows/call_issue_pr_tracker.yml mode change 100755 => 100644 .github/workflows/call_issues_cron.yml mode change 100755 => 100644 .github/workflows/external_trigger.yml mode change 100755 => 100644 .github/workflows/external_trigger_scheduler.yml mode change 100755 => 100644 .github/workflows/greetings.yml mode change 100755 => 100644 .github/workflows/package_trigger_scheduler.yml mode change 100755 => 100644 .github/workflows/permissions.yml mode change 100755 => 100644 LICENSE mode change 100755 => 100644 root/donate.txt diff --git a/.editorconfig b/.editorconfig old mode 100755 new mode 100644 diff --git a/.github/CONTRIBUTING.md b/.github/CONTRIBUTING.md old mode 100755 new mode 100644 diff --git a/.github/FUNDING.yml b/.github/FUNDING.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/issue.bug.yml b/.github/ISSUE_TEMPLATE/issue.bug.yml old mode 100755 new mode 100644 diff --git a/.github/ISSUE_TEMPLATE/issue.feature.yml b/.github/ISSUE_TEMPLATE/issue.feature.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/call_issue_pr_tracker.yml b/.github/workflows/call_issue_pr_tracker.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/call_issues_cron.yml b/.github/workflows/call_issues_cron.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/external_trigger.yml b/.github/workflows/external_trigger.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/external_trigger_scheduler.yml b/.github/workflows/external_trigger_scheduler.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/package_trigger_scheduler.yml b/.github/workflows/package_trigger_scheduler.yml old mode 100755 new mode 100644 diff --git a/.github/workflows/permissions.yml b/.github/workflows/permissions.yml old mode 100755 new mode 100644 diff --git a/Dockerfile b/Dockerfile index 8c24d48..b593fa8 100644 --- a/Dockerfile +++ b/Dockerfile @@ -29,7 +29,7 @@ RUN \ /app/kavita --strip-components=1 \ --no-same-owner && \ chmod +x /app/kavita/Kavita && \ - cp /app/kavita/config/appsettings.json /defaults/ && \ + cp /app/kavita/config/appsettings-init.json /defaults/ && \ rm -rf /app/kavita/config && \ ln -s /config /app/kavita/config && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ diff --git a/Dockerfile.aarch64 b/Dockerfile.aarch64 index 05514bc..c985bfa 100644 --- a/Dockerfile.aarch64 +++ b/Dockerfile.aarch64 @@ -29,7 +29,7 @@ RUN \ /app/kavita --strip-components=1 \ --no-same-owner && \ chmod +x /app/kavita/Kavita && \ - cp /app/kavita/config/appsettings.json /defaults/ && \ + cp /app/kavita/config/appsettings-init.json /defaults/ && \ rm -rf /app/kavita/config && \ ln -s /config /app/kavita/config && \ printf "Linuxserver.io version: ${VERSION}\nBuild-date: ${BUILD_DATE}" > /build_version && \ diff --git a/LICENSE b/LICENSE old mode 100755 new mode 100644 diff --git a/README.md b/README.md index 018ad25..adf849c 100644 --- a/README.md +++ b/README.md @@ -277,6 +277,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64 ## Versions +* **05.07.25:** - Update init for version 0.8.7 compatibility. * **10.07.24:** - Rebase to Ubuntu Noble. * **12.08.23:** - Fix app file perms to prevent high uid. * **07.08.23:** - Initial Release. diff --git a/readme-vars.yml b/readme-vars.yml index ca51c6e..5943048 100644 --- a/readme-vars.yml +++ b/readme-vars.yml @@ -76,6 +76,7 @@ init_diagram: | "kavita:latest" <- Base Images # changelog changelogs: + - {date: "05.07.25:", desc: "Update init for version 0.8.7 compatibility."} - {date: "10.07.24:", desc: "Rebase to Ubuntu Noble."} - {date: "12.08.23:", desc: "Fix app file perms to prevent high uid."} - {date: "07.08.23:", desc: "Initial Release."} diff --git a/root/donate.txt b/root/donate.txt old mode 100755 new mode 100644 diff --git a/root/etc/s6-overlay/s6-rc.d/init-kavita-config/run b/root/etc/s6-overlay/s6-rc.d/init-kavita-config/run index a1f4f27..2d86dc4 100755 --- a/root/etc/s6-overlay/s6-rc.d/init-kavita-config/run +++ b/root/etc/s6-overlay/s6-rc.d/init-kavita-config/run @@ -2,7 +2,7 @@ # shellcheck shell=bash if [[ ! -f "/config/appsettings.json" ]]; then - cp /defaults/appsettings.json /config/ + cp /defaults/appsettings-init.json /config/ fi # permissions