Skip to content

Commit 68be2c6

Browse files
committed
Change chmod position to prevent error message.
1 parent 316b75b commit 68be2c6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

install/hst-install-debian.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1017,11 +1017,11 @@ if [ "$nginx" = 'yes' ]; then
10171017
done
10181018
rm -fr $HESTIA/data/templates/web/nginx/*
10191019
cp -f $hestiacp/php-fpm/www.conf /etc/php/$fpm_v/fpm/pool.d/
1020+
chmod a+x $HESTIA/data/templates/web/nginx/*.sh
10201021
fpm_tpl=$(echo "$fpm_v" | sed -e 's/[.]//')
10211022
ln -s $HESTIA/data/templates/web/nginx/PHP-$fpm_tpl.sh $HESTIA/data/templates/web/nginx/default.sh
10221023
ln -s $HESTIA/data/templates/web/nginx/PHP-$fpm_tpl.tpl $HESTIA/data/templates/web/nginx/default.tpl
10231024
ln -s $HESTIA/data/templates/web/nginx/PHP-$fpm_tpl.stpl $HESTIA/data/templates/web/nginx/default.stpl
1024-
chmod a+x $HESTIA/data/templates/web/nginx/*.sh
10251025
service php$fpm_v-fpm start >> $LOG
10261026
check_result $? "php$fpm_v-fpm start failed"
10271027
fi

install/hst-install-ubuntu.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,11 +995,11 @@ if [ "$nginx" = 'yes' ]; then
995995
done
996996
rm -fr $HESTIA/data/templates/web/nginx/*
997997
cp -f $hestiacp/php-fpm/www.conf /etc/php/$fpm_v/fpm/pool.d/
998+
chmod a+x $HESTIA/data/templates/web/nginx/*.sh
998999
fpm_tpl=$(echo "$fpm_v" | sed -e 's/[.]//')
9991000
ln -s $HESTIA/data/templates/web/nginx/PHP-$fpm_tpl.sh $HESTIA/data/templates/web/nginx/default.sh
10001001
ln -s $HESTIA/data/templates/web/nginx/PHP-$fpm_tpl.tpl $HESTIA/data/templates/web/nginx/default.tpl
10011002
ln -s $HESTIA/data/templates/web/nginx/PHP-$fpm_tpl.stpl $HESTIA/data/templates/web/nginx/default.stpl
1002-
chmod a+x $HESTIA/data/templates/web/nginx/*.sh
10031003
service php$fpm_v-fpm start >> $LOG
10041004
check_result $? "php$fpm_v-fpm start failed"
10051005
fi

0 commit comments

Comments
 (0)