diff --git a/config/root/etc/cont-init.d/10-tubesync b/config/root/etc/cont-init.d/10-tubesync index 19ddfc1..5a9ccc4 100644 --- a/config/root/etc/cont-init.d/10-tubesync +++ b/config/root/etc/cont-init.d/10-tubesync @@ -19,8 +19,8 @@ chown -R app:app /app/common/static && \ chmod -R 0750 /app/common/static && \ chown -R app:app /app/static && \ chmod -R 0750 /app/static && \ -find /app -type f -exec chmod 640 {} \; && \ -chmod +x /app/healthcheck.py +find /app -type f ! -iname healthcheck.py -exec chmod 640 {} \; && \ +chmod 0755 /app/healthcheck.py # Run migrations exec s6-setuidgid app \ diff --git a/tubesync/healthcheck.py b/tubesync/healthcheck.py old mode 100644 new mode 100755