🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 16s

rootfs/tmp/etc/php84/php-fpm.conf
rootfs/usr/local/etc/docker/init.d/03-tor-server.sh
rootfs/usr/local/etc/docker/init.d/99-php-fpm.sh
rootfs/usr/local/etc/docker/init.d/zz-nginx.sh
This commit is contained in:
casjay
2025-09-20 07:39:24 -04:00
parent a0075c81d7
commit 2945769e16
4 changed files with 10 additions and 7 deletions

View File

@@ -376,7 +376,7 @@ __post_execute() {
(
# commands to execute
while :; do
if __pgrep unbound >/dev/null 2>&1; then
if pgrep -x unbound >/dev/null 2>&1; then
break
else
sleep 10

View File

@@ -124,10 +124,10 @@ SERVICE_UID="0" # set the user id
SERVICE_GID="0" # set the group id
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# execute command variables - keep single quotes variables will be expanded later
EXEC_CMD_BIN='php-fpm84' # command to execute
EXEC_CMD_ARGS='--nodaemonize --fpm-config /etc/php84/php-fpm.conf' # command arguments
EXEC_PRE_SCRIPT='' # execute script before
SERVICE_USES_PID='' # Set to no if the service is not running otherwise leave blank
EXEC_CMD_BIN='php-fpm84' # command to execute
EXEC_CMD_ARGS='--nodaemonize --fpm-config /etc/php84/php-fpm.conf --allow-to-run-as-root' # command arguments
EXEC_PRE_SCRIPT='' # execute script before
SERVICE_USES_PID='' # Set to no if the service is not running otherwise leave blank
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Is this service a web server
IS_WEB_SERVER="no"

View File

@@ -276,7 +276,10 @@ __update_conf_files() {
sleep 10
wait_count=$((wait_count + 1))
done
[ $wait_count -ge $max_wait ] && echo "⚠️ Timeout waiting for tor services, continuing anyway"
if [ $wait_count -ge $max_wait ]; then
echo "⚠️ Timeout waiting for tor services, continuing anyway"
return 0
fi
echo "The tor server seems to have started "
for site in "/run/tor/sites"/*; do
onion_site="$(basename -- $site)"