Bump to revision 3
addConf with mandatory paramter; suppots appending
This commit is contained in:
@@ -22,10 +22,10 @@ step_1() {
|
||||
step_2_info() { echo "Basic nginx configuration for initial letsencrypt certificate creation"; }
|
||||
step_2() {
|
||||
# Writing acme-challenge code snipped for certbot web root authentication
|
||||
addConf "$snippetLetsencrypt" "$snippetLetsencryptLoc"
|
||||
addConf -c "$snippetLetsencrypt" "$snippetLetsencryptLoc"
|
||||
|
||||
# Writing minimal default (see below)
|
||||
addConf "$siteDefaultIp4" "$siteDefaultLoc"
|
||||
addConf -c "$siteDefaultIp4" "$siteDefaultLoc"
|
||||
|
||||
# try fix errors on first install attempt
|
||||
# (possible missing ipv6 support on system)
|
||||
@@ -63,7 +63,7 @@ step_3() {
|
||||
|
||||
step_4_info() { echo "Mariadb configuration"; }
|
||||
step_4() {
|
||||
addConf "$mariadbConfig" "$mariadbConfigLoc"
|
||||
addConf -c "$mariadbConfig" "$mariadbConfigLoc"
|
||||
|
||||
echo -n "Restarting mysql ... "
|
||||
exe service mysql restart && echo "ok"
|
||||
@@ -108,8 +108,8 @@ date.timezone = Europe/Berlin"
|
||||
|
||||
step_6_info() { echo -e "Configuration of ${phpName} fpm and cli\n"; }
|
||||
step_6() {
|
||||
addConf "$phpFpmConfig" "$phpFpmConfigLocation"
|
||||
addConf "$phpCliConfig" "$phpCliConfigLocation"
|
||||
addConf -c "$phpFpmConfig" "$phpFpmConfigLocation"
|
||||
addConf -c "$phpCliConfig" "$phpCliConfigLocation"
|
||||
|
||||
echo -n "Restarting ${phpName} ... "
|
||||
exe service ${phpName}-fpm restart && echo "ok"
|
||||
@@ -184,5 +184,6 @@ step_12() {
|
||||
exe mysql -u root -e 'FLUSH PRIVILEGES;'
|
||||
}
|
||||
|
||||
VERSION_SEQREV=2
|
||||
VERSION_SEQREV=3
|
||||
|
||||
. sequencer.sh
|
||||
|
Reference in New Issue
Block a user