From f0c328375f414662a203b4606d65983b7640160d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luka=20Paunovi=C4=87?= Date: Thu, 11 Apr 2019 19:02:36 +0200 Subject: [PATCH] Update v-change-sys-service-config --- bin/v-change-sys-service-config | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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