Skip to content

Commit b4c85a4

Browse files
author
Kristan Kenney
committed
Update restart routine in v-restart-web-backend
1 parent 822a2b0 commit b4c85a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

bin/v-restart-web-backend

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d /)
5454
for back in $php_fpm
5555
do
5656
if [ -z "$php_fpm" ]; then
57-
service $WEB_BACKEND restart >/dev/null 2>&1
57+
$BIN/v-restart-service $WEB_BACKEND > /dev/null 2>&1
5858
else
59-
service $back restart >/dev/null 2>&1
59+
$BIN/v-restart-service $back > /dev/null 2>&1
6060
fi
6161
done
6262
if [ $? -ne 0 ]; then

0 commit comments

Comments
 (0)