diff --git a/bin/v-change-sys-service-config b/bin/v-change-sys-service-config index c4228e555..19ce079b5 100755 --- a/bin/v-change-sys-service-config +++ b/bin/v-change-sys-service-config @@ -95,8 +95,7 @@ if [ "$update" = 'yes' ] && [ "$restart" != 'no' ]; then if [ "$service" = 'php' ]; then if [ "$WEB_SYSTEM" = "nginx" ]; then - #service=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /) - service=$(service --status-all | grep -e '.*+.*php' | sed 's/.*\ //') + service=$(ls /etc/init.d/php*fpm* |cut -f 4 -d /) else service=$WEB_SYSTEM fi