From b5053c69961b0ffb3cf523c2ad545bc71ef96bac Mon Sep 17 00:00:00 2001 From: ngosang Date: Sun, 24 May 2020 14:41:13 +0200 Subject: [PATCH] Enable auto-updates This commit enables auto-updates. Jackett project supports more than 500 torrent indexers and we publish releases every day. Users cannot update the Docker image daily. With this change the users can deploy any Docker image and they will get fresh updates every day automatically. It's also possible to disable updates in the Jackett UI (not recommended). --- root/etc/cont-init.d/30-config | 3 ++- root/etc/services.d/jackett/run | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/root/etc/cont-init.d/30-config b/root/etc/cont-init.d/30-config index 54e7655..c5d18cd 100644 --- a/root/etc/cont-init.d/30-config +++ b/root/etc/cont-init.d/30-config @@ -1,4 +1,5 @@ #!/usr/bin/with-contenv bash chown -R abc:abc \ - /config + /app/Jackett \ + /config diff --git a/root/etc/services.d/jackett/run b/root/etc/services.d/jackett/run index a4a01aa..da73fdc 100644 --- a/root/etc/services.d/jackett/run +++ b/root/etc/services.d/jackett/run @@ -1,4 +1,4 @@ #!/usr/bin/with-contenv bash exec \ - s6-setuidgid abc /app/Jackett/jackett --NoUpdates "${RUN_OPTS}" + s6-setuidgid abc /app/Jackett/jackett_launcher.sh "${RUN_OPTS}"