mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-14 18:49:17 -07:00
Fixed restarting php daemon error. Ubuntu 16.04
```bash # cat /proc/version Linux version 4.4.0-21-generic (buildd@lgw01-21) (gcc version 5.3.1 20160413 (Ubuntu 5.3.1-14ubuntu2) ) #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 ```
This commit is contained in:
parent
66ec02221e
commit
02a164128b
1 changed files with 2 additions and 1 deletions
|
@ -95,7 +95,8 @@ 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=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
|
||||
service=$(service --status-all | grep -e '.*+.*php' | sed 's/.*\ //')
|
||||
else
|
||||
service=$WEB_SYSTEM
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue