Add .editorconfig and correct indentation for many seqs
This commit is contained in:
@@ -6,8 +6,10 @@ phpVersion="7.3"
|
||||
phpName="php$phpVersion"
|
||||
phpPackages="${phpName}-fpm ${phpName}-json ${phpName}-mysql ${phpName}-curl ${phpName}-intl ${phpName}-gd ${phpName}-zip ${phpName}-xml ${phpName}-mbstring php-imagick php-apcu"
|
||||
|
||||
step_1_info() { echo "Installation of $serverName packages:"
|
||||
echoinfo "$serverPackages"; }
|
||||
step_1_info() {
|
||||
echo "Installation of $serverName packages:"
|
||||
echoinfo "$serverPackages"
|
||||
}
|
||||
step_1_alias() { ALIAS="install"; }
|
||||
step_1() {
|
||||
exe apt update
|
||||
@@ -19,16 +21,16 @@ step_2_info() { echo "Basic nginx configuration for initial letsencrypt certific
|
||||
step_2() {
|
||||
# Writing acme-challenge code snipped for certbot web root authentication
|
||||
addConf -c "$snippetLetsencrypt" "$snippetLetsencryptLoc"
|
||||
|
||||
|
||||
# Writing minimal default (see below)
|
||||
addConf -c "$siteDefaultIp4" "$siteDefaultLoc"
|
||||
|
||||
|
||||
# try fix errors on first install attempt
|
||||
# (possible missing ipv6 support on system)
|
||||
if [ $ERNO -ne 0 ] ; then
|
||||
exe apt install nginx
|
||||
fi
|
||||
|
||||
|
||||
# create webroot
|
||||
exe mkdir -p "$siteLetsencryptWww"
|
||||
|
||||
@@ -50,8 +52,10 @@ siteDefaultIp4="server {
|
||||
include ${snippetLetsencryptLoc};
|
||||
}"
|
||||
|
||||
step_3_info() { echo "Installation of $phpName packages:"
|
||||
echoinfo "$phpPackages"; }
|
||||
step_3_info() {
|
||||
echo "Installation of $phpName packages:"
|
||||
echoinfo "$phpPackages"
|
||||
}
|
||||
step_3() {
|
||||
exe apt install $phpPackages
|
||||
endReturn -o $? "$phpName error during startup"
|
||||
|
Reference in New Issue
Block a user