mirror of
https://github.com/myvesta/vesta
synced 2025-08-19 21:04:07 -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 [ "$service" = 'php' ]; then
|
||||||
if [ "$WEB_SYSTEM" = "nginx" ]; 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
|
else
|
||||||
service=$WEB_SYSTEM
|
service=$WEB_SYSTEM
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue