Made nginx and php socket configuration variable
This commit is contained in:
@@ -25,6 +25,7 @@ if [ -z ${DistoBuilderINT+x} ]; then
|
||||
|
||||
#Configure Php-fpm
|
||||
echo ";Placeholder" > /etc/php$phpVer/php-fpm.d/www.conf
|
||||
sed -i -e 's/PHPver/'$phpVer'/g' Configs/php.conf
|
||||
mv Configs/php.conf /etc/php$phpVer/php-fpm.d/mailbackup.conf
|
||||
printf "[Date]\ndate.timezone = Europe/Amsterdam" >/etc/php$phpVer/conf.d/04_date_timezone.ini
|
||||
rc-update add php-fpm$phpVer
|
||||
@@ -75,7 +76,8 @@ rm -f /tmp/olim3.tar.gz /tmp/smc.tar.gz
|
||||
rc-update add dovecot
|
||||
rc-update add nginx
|
||||
|
||||
if [ -z ${DistoBuilderINT+x} ]; then
|
||||
if [ -z ${DistoBuilderINT+x} ]; then
|
||||
sed -i -e 's/PHPver/'$phpVer'/g' /etc/nginx/nginx.conf
|
||||
service dovecot start
|
||||
service nginx start
|
||||
service php-fpm$phpVer start
|
||||
|
||||
Reference in New Issue
Block a user