Skip to content

Commit 1820107

Browse files
author
Serghey Rodin
committed
workaround for old ubuntu
1 parent b262f81 commit 1820107

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

install/vst-install-ubuntu.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -871,6 +871,7 @@ if [ "$phpfpm" = 'yes' ]; then
871871
pool=$(find /etc/php* -type d \( -name "pool.d" -o -name "*fpm.d" \))
872872
wget $vestacp/php-fpm/www.conf -O $pool/www.conf
873873
php_fpm=$(ls /usr/sbin/php*fpm* |cut -f 4 -d /)
874+
ln -s /etc/init.d/$php_fpm /etc/init.d/php-fpm > /dev/null 2>&1
874875
update-rc.d $php_fpm defaults
875876
service $php_fpm start
876877
check_result $? "php-fpm start failed"

0 commit comments

Comments
 (0)