File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,6 @@ if ! kill -0 $NGINX_PID 2>/dev/null; then
5151fi
5252
5353# Log successful start with PID and paths
54- START_TIME=$( date +%s)
5554echo " ✅ Service: NGINX is running"
5655echo " PID $NGINX_PID "
5756echo " Started at $( date ' +%Y-%m-%d %H:%M:%S' ) "
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ if [ -f "${PHP_POOL_CONFIG}" ]; then
4141 echo " [www] "
4242 # Rest of the configuration
4343 grep -v ' ^;' " ${PHP_POOL_CONFIG} " | grep -v ' ^$' | grep -v ' \[www\]' | while IFS=' =' read -r key value; do
44- if [ ! -z " $key " ]; then
44+ if [ -n " $key " ]; then
4545 printf " %-15s %s\n" " ${key// / } " " ${value// / } "
4646 fi
4747 done
@@ -60,4 +60,4 @@ echo " Error log ${PHP_ERROR_LOG}"
6060
6161# Start PHP-FPM
6262echo " * Starting PHP-FPM..."
63- exec php-fpm${PHP_VERSION} --nodaemonize --fpm-config " ${PHP_FPM_CONFIG} "
63+ exec php-fpm" ${PHP_VERSION} " --nodaemonize --fpm-config " ${PHP_FPM_CONFIG} "
You can’t perform that action at this time.
0 commit comments