mirror of
https://github.com/casjaysdevdocker/tor
synced 2025-10-14 08:02:34 -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 = /run/php-fpm.sock
|
||||||
listen.owner = root
|
listen.owner = root
|
||||||
listen.group = root
|
listen.group = root
|
||||||
listen.mode = 0660
|
listen.mode = 0666
|
||||||
pm = dynamic
|
pm = dynamic
|
||||||
pm.max_children = 5
|
pm.max_children = 5
|
||||||
pm.start_servers = 2
|
pm.start_servers = 2
|
||||||
|
@@ -376,7 +376,7 @@ __post_execute() {
|
|||||||
(
|
(
|
||||||
# commands to execute
|
# commands to execute
|
||||||
while :; do
|
while :; do
|
||||||
if __pgrep unbound >/dev/null 2>&1; then
|
if pgrep -x unbound >/dev/null 2>&1; then
|
||||||
break
|
break
|
||||||
else
|
else
|
||||||
sleep 10
|
sleep 10
|
||||||
|
@@ -125,7 +125,7 @@ SERVICE_GID="0" # set the group id
|
|||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
# execute command variables - keep single quotes variables will be expanded later
|
# execute command variables - keep single quotes variables will be expanded later
|
||||||
EXEC_CMD_BIN='php-fpm84' # command to execute
|
EXEC_CMD_BIN='php-fpm84' # command to execute
|
||||||
EXEC_CMD_ARGS='--nodaemonize --fpm-config /etc/php84/php-fpm.conf' # command arguments
|
EXEC_CMD_ARGS='--nodaemonize --fpm-config /etc/php84/php-fpm.conf --allow-to-run-as-root' # command arguments
|
||||||
EXEC_PRE_SCRIPT='' # execute script before
|
EXEC_PRE_SCRIPT='' # execute script before
|
||||||
SERVICE_USES_PID='' # Set to no if the service is not running otherwise leave blank
|
SERVICE_USES_PID='' # Set to no if the service is not running otherwise leave blank
|
||||||
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
||||||
|
@@ -276,7 +276,10 @@ __update_conf_files() {
|
|||||||
sleep 10
|
sleep 10
|
||||||
wait_count=$((wait_count + 1))
|
wait_count=$((wait_count + 1))
|
||||||
done
|
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 "
|
echo "The tor server seems to have started "
|
||||||
for site in "/run/tor/sites"/*; do
|
for site in "/run/tor/sites"/*; do
|
||||||
onion_site="$(basename -- $site)"
|
onion_site="$(basename -- $site)"
|
||||||
|
Reference in New Issue
Block a user