diff --git a/bin/v-change-sys-service-config b/bin/v-change-sys-service-config index 3d31d6b4..0500ecb9 100755 --- a/bin/v-change-sys-service-config +++ b/bin/v-change-sys-service-config @@ -97,7 +97,7 @@ if [ "$update" = 'yes' ] && [ "$restart" != 'no' ]; then if [ "$WEB_SYSTEM" = "nginx" ]; then if [ $(ps --no-headers -o comm 1) == systemd ]; then service=$(systemctl | grep -o -E "php.*fpm.*\.service") - service=${service//.service/} + service=${service//.service/} else service=$(ls /etc/init.d/php*fpm* |cut -f 4 -d /) fi