From 56e36c1ddcbceb81613895eb7efb226860de6d78 Mon Sep 17 00:00:00 2001 From: Bram Prieshof Date: Wed, 27 Oct 2021 22:31:37 +0000 Subject: [PATCH] Added nginx repo key --- install.sh | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/install.sh b/install.sh index 3761fcb..57064b4 100644 --- a/install.sh +++ b/install.sh @@ -12,6 +12,7 @@ if [ -z ${DistoBuilderINT+x} ]; then #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 + curl -L https://nginx.org/keys/nginx_signing.rsa.pub -o /etc/apk/keys/nginx_signing.rsa.pub apk add nginx@nginx #Download ExtraResource @@ -78,6 +79,9 @@ rm -f /tmp/olim3.tar.gz /tmp/rlcl.zip rc-update add dovecot rc-update add nginx rc-update add php-fpm8 -service dovecot start -service nginx start -service php-fpm8 start \ No newline at end of file + +if [ -z ${DistoBuilderINT+x} ]; then + service dovecot start + service nginx start + service php-fpm8 start +fi \ No newline at end of file