@@ -15,11 +15,6 @@ TZ="${TZ:-UTC}"
1515PHP_MEMORY_LIMIT=" ${PHP_MEMORY_LIMIT:- 256M} "
1616UPLOAD_MAX_FILESIZE=" ${UPLOAD_MAX_FILESIZE:- 8M} "
1717
18- # If TRUE, outputs pre and post-change config files, if a /debug folder has also been mounted.
19- # i.e. - '/opt/docker/configs/linkstack/debug:/debug:rw'
20- # Useful for comparing (and fixing) changes, if necessary.
21- DEBUG=" TRUE"
22-
2318# Read Current LLC Version
2419# When version.json has CR/LF, it fx up, so have to add tr to remove the line endings.
2520v=" $( cat /htdocs/version.json | tr -d ' \r\n' ) "
@@ -35,41 +30,11 @@ printf '| LINKSTACK v%s%*s|\n' "${v}" "$vlen" | tr ' ' " "
3530# + ---------------- + #
3631
3732echo ' + ------------------------------------------------------------------ +'
38- echo ' | Updating Configuration: Apache Base (/etc/apache2/httpd.conf) |'
39-
40- # ALTER: Server Admin, Name, Document Root.
41-
42- if [[ ${DEBUG} == " TRUE" && -d /debug ]]; then cp /etc/apache2/httpd.conf /debug/httpd.BEFORE.conf; fi
43-
44- if [[ ${DEBUG} == " TRUE" && -d /debug ]]; then cp /etc/apache2/httpd.conf /debug/httpd.AFTER.conf; fi
45-
46- # + -------------- + #
47- # | -- SSL.CONF -- | #
48- # + -------------- + #
49-
50- echo ' | Updating Configuration: Apache SSL (/etc/apache2/conf.d/ssl.conf) |'
51-
52- # ALTER: SSL DocumentRoot and Log locations
53-
54- if [[ ${DEBUG} == " TRUE" && -d /debug ]]; then cp /etc/apache2/conf.d/ssl.conf /debug/ssl.BEFORE.conf; fi
55-
56- if [[ ${DEBUG} == " TRUE" && -d /debug ]]; then cp /etc/apache2/conf.d/ssl.conf /debug/ssl.AFTER.conf; fi
57-
58- # + ------------- + #
59- # | -- PHP.INI -- | #
60- # + ------------- + #
61-
62- echo ' | Updating Configuration: PHP (/etc/php82/php.ini) |'
63-
64- if [[ ${DEBUG} == " TRUE" && -d /debug ]]; then cp /etc/php82/php.ini /debug/php.BEFORE.ini; fi
65-
66- if [[ ${DEBUG} == " TRUE" && -d /debug ]]; then cp /etc/php82/php.ini /debug/php.AFTER.ini; fi
6733
6834# + ---------- + #
6935# | -- MISC -- | #
7036# + ---------- + #
7137
72- echo ' | Updating Configuration: Complete |'
7338echo ' | ------------------------------------------------------------------ |'
7439echo ' | Running Apache |'
7540echo ' + ------------------------------------------------------------------ +'
0 commit comments