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 02a1641 commit 48101b1Copy full SHA for 48101b1
bin/v-change-sys-service-config
@@ -95,8 +95,7 @@ if [ "$update" = 'yes' ] && [ "$restart" != 'no' ]; then
95
96
if [ "$service" = 'php' ]; then
97
if [ "$WEB_SYSTEM" = "nginx" ]; then
98
- #service=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
99
- service=$(service --status-all | grep -e '.*+.*php' | sed 's/.*\ //')
+ service=$(ls /etc/init.d/php*fpm* |cut -f 4 -d /)
100
else
101
service=$WEB_SYSTEM
102
fi
0 commit comments