Skip to content

Commit bfea2a8

Browse files
authored
Update v-restart-web-backend
2 parents c817c99 + d4fa1ed commit bfea2a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/v-restart-web-backend

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ if [ -z "$WEB_BACKEND" ] || [ "$WEB_BACKEND" = 'remote' ]; then
5050
fi
5151

5252
# Restart system
53-
php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d / |head -n 1)
53+
php_fpm=$(ls /etc/init.d/php*-fpm 2>/dev/null |cut -f 4 -d / |head -n 1)
5454
if [ -z "$php_fpm" ]; then
5555
service $WEB_BACKEND restart >/dev/null 2>&1
5656
else

0 commit comments

Comments
 (0)