From e6db4e6691c8276d57556051ee8a679ea08a99b9 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Tue, 22 Nov 2022 23:58:54 +0100 Subject: [PATCH] Update install script for alpine 3.17 --- install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install.sh b/install.sh index be0a200..d11e64d 100644 --- a/install.sh +++ b/install.sh @@ -7,7 +7,7 @@ cd "$( dirname "$0" )" if [ -z ${DistoBuilderINT+x} ]; then ResourceFolder=/tmp #Install required software - apk add dovecot php8-xml php8-fpm php8-curl php8-dom php8-zip php8-mbstring php-openssl py3-pip sudo curl openssl + apk add dovecot php81-xml php81-fpm php81-curl php81-dom php81-zip php81-mbstring php81-openssl py3-pip sudo curl openssl #Install Nginx and Nginx Repo wget https://nginx.org/keys/nginx_signing.rsa.pub -O /etc/apk/keys/nginx_signing.rsa.pub echo "@nginx http://nginx.org/packages/mainline/alpine/v$(egrep -o '^[0-9]+\.[0-9]+' /etc/alpine-release)/main" >> /etc/apk/repositories @@ -36,8 +36,8 @@ mkdir /mail chmod 777 /mail #Configure Php-fpm -rm /etc/php8/php-fpm.d/* -mv Configs/php.conf /etc/php8/php-fpm.d/railoop.conf +rm /etc/php81/php-fpm.d/* +mv Configs/php.conf /etc/php81/php-fpm.d/railoop.conf #Install Webmail mkdir -p /opt/webmail/data/_data_/_default_/configs /opt/webmail/data/_data_/_default_/domains @@ -73,10 +73,10 @@ rm -f /tmp/olim3.tar.gz /tmp/smc.tar.gz #Start and enable service rc-update add dovecot rc-update add nginx -rc-update add php-fpm8 +rc-update add php-fpm81 if [ -z ${DistoBuilderINT+x} ]; then service dovecot start service nginx start - service php-fpm8 start + service php-fpm81 start fi \ No newline at end of file