Add .editorconfig and correct indentation for many seqs
This commit is contained in:
@@ -24,7 +24,7 @@ step_1() {
|
||||
shift
|
||||
local osRelease=$1
|
||||
endCheckEmpty osRelease "Debian release not provided"
|
||||
|
||||
|
||||
echoseq " [I] Setup apt source for $serverName $serverSourceUrl"
|
||||
local srvSource="deb $serverSourceUrl $osRelease nginx"
|
||||
addConf -s "$srvSource" "$serverSourceLoc"
|
||||
@@ -82,8 +82,10 @@ listen 80 default_server;
|
||||
include ${snippetLetsencryptLoc};
|
||||
}"
|
||||
|
||||
step_4_info() { echo "Installation of $phpName packages:"
|
||||
echoinfo "$phpPackages"; }
|
||||
step_4_info() {
|
||||
echo "Installation of $phpName packages:"
|
||||
echoinfo "$phpPackages"
|
||||
}
|
||||
step_4_alias() { ALIAS="php"; }
|
||||
step_4() {
|
||||
exe apt install $(eval echo $phpPackages) $aptOpt
|
||||
@@ -142,7 +144,7 @@ step_5() {
|
||||
exe sed -i "s|;emergency_restart_threshold.*|emergency_restart_threshold = 10|g" "$phpFpmIniLocation"
|
||||
exe sed -i "s|;emergency_restart_interval.*|emergency_restart_interval = 1m|g" "$phpFpmIniLocation"
|
||||
exe sed -i "s|;process_control_timeout.*|process_control_timeout = 10|g" "$phpFpmIniLocation"
|
||||
|
||||
|
||||
addConf -a "" "$phpPoolConfigLocation"
|
||||
exe sed -i "s/;env\[HOSTNAME\] = /env[HOSTNAME] = /" "$phpPoolConfigLocation"
|
||||
exe sed -i "s/;env\[TMP\] = /env[TMP] = /" "$phpPoolConfigLocation"
|
||||
|
Reference in New Issue
Block a user