mirror of
https://github.com/myvesta/vesta
synced 2025-08-20 21:34:12 -07:00
workaround for old ubuntu
This commit is contained in:
parent
b262f81555
commit
1820107da2
1 changed files with 1 additions and 0 deletions
|
@ -871,6 +871,7 @@ if [ "$phpfpm" = 'yes' ]; then
|
|||
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
|
||||
wget $vestacp/php-fpm/www.conf -O $pool/www.conf
|
||||
php_fpm=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
|
||||
ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1
|
||||
update-rc.d $php_fpm defaults
|
||||
service $php_fpm start
|
||||
check_result $? "php-fpm start failed"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue