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.
1 parent 822a2b0 commit b4c85a4Copy full SHA for b4c85a4
bin/v-restart-web-backend
@@ -54,9 +54,9 @@ php_fpm=$(ls /etc/init.d/php*-fpm* 2>/dev/null |cut -f 4 -d /)
54
for back in $php_fpm
55
do
56
if [ -z "$php_fpm" ]; then
57
- service $WEB_BACKEND restart >/dev/null 2>&1
+ $BIN/v-restart-service $WEB_BACKEND > /dev/null 2>&1
58
else
59
- service $back restart >/dev/null 2>&1
+ $BIN/v-restart-service $back > /dev/null 2>&1
60
fi
61
done
62
if [ $? -ne 0 ]; then
0 commit comments