Update v-install-unsigned-ssl

This commit is contained in:
myvesta 2020-06-27 20:25:36 +02:00 committed by GitHub
commit 8933d2b5b0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -24,6 +24,9 @@ else
restart=$2 restart=$2
fi fi
source /usr/local/vesta/func/main.sh
source /usr/local/vesta/func/domain.sh
#----------------------------------------------------------# #----------------------------------------------------------#
# Verifications # # Verifications #
#----------------------------------------------------------# #----------------------------------------------------------#
@ -63,9 +66,6 @@ sed -n "1,${crt_end}p" $TMPLOC/vst.pem > $TMPLOC/$domain.crt
sed -n "$key_start,${key_end}p" $TMPLOC/vst.pem > $TMPLOC/$domain.key sed -n "$key_start,${key_end}p" $TMPLOC/vst.pem > $TMPLOC/$domain.key
chmod 666 $TMPLOC/* chmod 666 $TMPLOC/*
source /usr/local/vesta/func/main.sh
source /usr/local/vesta/func/domain.sh
USER_DATA="/usr/local/vesta/data/users/$user"; USER_DATA="/usr/local/vesta/data/users/$user";
get_domain_values 'web' get_domain_values 'web'