mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-10-14 02:02:18 -04:00
🗃️ Committing everything that changed 🗃️
Some checks failed
release-tag / release-image (push) Failing after 16s
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:
@@ -13,7 +13,7 @@ group = root
|
||||
listen = /run/php-fpm.sock
|
||||
listen.owner = root
|
||||
listen.group = root
|
||||
listen.mode = 0660
|
||||
listen.mode = 0666
|
||||
pm = dynamic
|
||||
pm.max_children = 5
|
||||
pm.start_servers = 2
|
||||
|
@@ -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
|
||||
|
@@ -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"
|
||||
|
@@ -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)"
|
||||
|
Reference in New Issue
Block a user