mirror of
https://github.com/casjaysdevdocker/gitea
synced 2026-12-02 15:57:57 -05:00
- rootfs/usr/local/bin/entrypoint.sh: services+=" $name" (as in the fixed gen-script template) so tini and the registered services are no longer joined into one name and the check stops failing
This commit is contained in:
1 file changed
+1
-1
@@ -587,7 +587,7 @@ healthcheck)
|
|||||||
if [ -d "/run/healthcheck" ] && ! __is_dir_empty "/run/healthcheck"; then
|
if [ -d "/run/healthcheck" ] && ! __is_dir_empty "/run/healthcheck"; then
|
||||||
for service in /run/healthcheck/*; do
|
for service in /run/healthcheck/*; do
|
||||||
name="${service##*/}"
|
name="${service##*/}"
|
||||||
services+="$name "
|
services+=" $name"
|
||||||
done
|
done
|
||||||
fi
|
fi
|
||||||
services="$(printf '%s\n' $services | sort -u | grep -v -- '^$')"
|
services="$(printf '%s\n' $services | sort -u | grep -v -- '^$')"
|
||||||
|
|||||||
Reference in new issue
Block a user