Compare commits

...
1 Commits
Author SHA1 Message Date
bart c0d13fd23a fix(jackett): copy config into /config/Jackett expected by linuxserver image
Sync HTPC Manifests to GitOps / Sync Manifests to GitOps Repo (push) Successful in 4s
2026-10-30 10:11:22 +01:00
+8 -3
View File
@@ -30,9 +30,14 @@ spec:
- /bin/bash - /bin/bash
- -c - -c
- | - |
if [ ! -f /config/ServerConfig.json ] && [ -f /host-config/ServerConfig.json ]; then mkdir -p /config/Jackett
echo "Migrating Jackett config and indexers from host..." if [ ! -f /config/Jackett/ServerConfig.json ] || [ -f /config/ServerConfig.json ]; then
cp -a /host-config/* /config/ echo "Syncing Jackett config and indexers from host..."
[ -d /host-config/Indexers ] && cp -a /host-config/Indexers /config/Jackett/
[ -d /host-config/DataProtection ] && cp -a /host-config/DataProtection /config/Jackett/
[ -f /host-config/ServerConfig.json ] && cp -a /host-config/ServerConfig.json /config/Jackett/
# Remove misplaced root files if present
rm -rf /config/Indexers /config/ServerConfig.json /config/DataProtection /config/log.txt* /config/updater.txt*
fi fi
chown -R 33:33 /config chown -R 33:33 /config
volumeMounts: volumeMounts: