mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Merge pull request #1015 from Piterden/patch-3
Fixed restarting php daemon error. Ubuntu 16.04
This commit is contained in:
commit
54f55d2ce8
1 changed files with 1 additions and 1 deletions
|
@ -95,7 +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=$(ls /etc/init.d/php*fpm* |cut -f 4 -d / |sed -n 1p)
|
||||
else
|
||||
service=$WEB_SYSTEM
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue