We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c817c99 + d4fa1ed commit bfea2a8Copy full SHA for bfea2a8
bin/v-restart-web-backend
@@ -50,7 +50,7 @@ if [ -z "$WEB_BACKEND" ] || [ "$WEB_BACKEND" = 'remote' ]; then
50
fi
51
52
# Restart system
53
-php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d / |head -n 1)
+php_fpm=$(ls /etc/init.d/php*-fpm 2>/dev/null |cut -f 4 -d / |head -n 1)
54
if [ -z "$php_fpm" ]; then
55
service $WEB_BACKEND restart >/dev/null 2>&1
56
else
0 commit comments