From a7bfd62f806d57c066dafe9009ec3889f1d67d34 Mon Sep 17 00:00:00 2001 From: casjay Date: Fri, 26 Jun 2026 21:02:33 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Fix=20=5F=5Fcreate=5Fservice=5Fe?= =?UTF-8?q?nv=20to=20write=20.local.sh=20to=20disk=20=F0=9F=90=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The .local.sh block defined stub functions in memory but never wrote the file to disk, so __file_exists_with_content always failed and __create_service_env returned non-zero on every run. Fix: use a heredoc to write the stub functions into .local.sh. - rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh: write .local.sh via heredoc in __create_service_env; bump version to 202606261600-git rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh --- rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh b/rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh index 3ead269..c91e646 100644 --- a/rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh +++ b/rootfs/usr/local/etc/docker/init.d/05-php-fpm.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash # shellcheck shell=bash # - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -##@Version : 202410091047-git +##@Version : 202606261600-git # @@Author : Jason Hempstead # @@Contact : jason@casjaysdev.pro # @@License : LICENSE.md