aboutsummaryrefslogtreecommitdiff
path: root/Docker/entrypoint.sh
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2021-11-14 23:25:27 +0100
committerGravatar GitHub <noreply@github.com> 2021-11-14 23:25:27 +0100
commit81b00bd8aacb0627ebb810b9100ee800bf53326f (patch)
tree291d6f0f5d4ac5b974ce908b9897bd4e028ce8a8 /Docker/entrypoint.sh
parentb780ef5276407bd681b201ced2d75cb442b8cd38 (diff)
Docker: Move logic to disable FreshRSS updates (#3973)
Should be done during build and not during entrypoint, to avoid modifying a potential volume (e.g. mounting the source code as a volume is used during development).
Diffstat (limited to 'Docker/entrypoint.sh')
-rwxr-xr-xDocker/entrypoint.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/Docker/entrypoint.sh b/Docker/entrypoint.sh
index e48a5e58f..1985d1ec4 100755
--- a/Docker/entrypoint.sh
+++ b/Docker/entrypoint.sh
@@ -6,9 +6,6 @@ find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?date.timezone#s#^.*
find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?post_max_size#s#^.*#post_max_size = 32M#" {} \;
find /etc/php*/ -type f -name php.ini -exec sed -r -i "\\#^;?upload_max_filesize#s#^.*#upload_max_filesize = 32M#" {} \;
-# Disable built-in updates when using Docker, as the full image is supposed to be updated instead.
-sed -r -i "\\#disable_update#s#^.*#\t'disable_update' => true,#" ./config.default.php
-
if [ -n "$LISTEN" ]; then
find /etc/apache2/ -type f -name FreshRSS.Apache.conf -exec sed -r -i "\\#^Listen#s#^.*#Listen $LISTEN#" {} \;
fi