mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Update v-change-sys-service-config
This commit is contained in:
parent
02a164128b
commit
48101b1665
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue