scripts dutchification - batch 2

This commit is contained in:
bergware
2023-10-04 22:21:55 +02:00
parent b55f9c4f0a
commit a1e9a7fea8
+4 -8
View File
@@ -25,15 +25,11 @@ PHP_FPM_PID="/var/run/php-fpm.pid"
PHP_OPTS="--fpm-config $PHP_FPM_CONF --pid $PHP_FPM_PID --allow-to-run-as-root"
php_fpm_waitfor(){
TIMER=35
while $TIMER -gt 0; do
local TIMER=35
while [[ $TIMER -gt 0 ]]; do
case "$1" in
'created')
[[ -f $2 ]] && return 0
;;
'removed')
[[ -f $2 ]] || return 0
;;
'created') [[ -f $2 ]] && return 0 ;;
'removed') [[ -f $2 ]] || return 0 ;;
esac
((TIMER--))
sleep 1