@@ -163,15 +163,15 @@ if [ "$WP_ADMIN_PASSWORD" = PLACEHOLDER ];
163163fi
164164
165165# Install Check
166- source /home /EngineScript/install-log.txt
166+ source /var/log /EngineScript/install-log.txt
167167
168168# Repositories
169169if [ " ${REPOS} " = 1 ];
170170 then
171171 echo " REPOS script has already run"
172172 else
173173 /usr/local/bin/enginescript/scripts/install/repositories/repositories-install.sh
174- echo " REPOS=1" >> /home /EngineScript/install-log.txt
174+ echo " REPOS=1" >> /var/log /EngineScript/install-log.txt
175175fi
176176
177177# Remove Preinstalled Software
@@ -180,7 +180,7 @@ if [ "${REMOVES}" = 1 ];
180180 echo " REMOVES script has already run"
181181 else
182182 /usr/local/bin/enginescript/scripts/install/removes/remove-preinstalled.sh
183- echo " REMOVES=1" >> /home /EngineScript/install-log.txt
183+ echo " REMOVES=1" >> /var/log /EngineScript/install-log.txt
184184fi
185185
186186# Block Unwanted Packages
@@ -189,7 +189,7 @@ if [ "${BLOCK}" = 1 ];
189189 echo " BLOCK script has already run"
190190 else
191191 /usr/local/bin/enginescript/scripts/install/block/package-block.sh
192- echo " BLOCK=1" >> /home /EngineScript/install-log.txt
192+ echo " BLOCK=1" >> /var/log /EngineScript/install-log.txt
193193fi
194194
195195# Enabled Ubuntu Pro Apt Updates
@@ -207,7 +207,7 @@ if [ "${DEPENDS}" = 1 ];
207207 echo " DEPENDS script has already run"
208208 else
209209 /usr/local/bin/enginescript/scripts/install/depends/depends-install.sh
210- echo " DEPENDS=1" >> /home /EngineScript/install-log.txt
210+ echo " DEPENDS=1" >> /var/log /EngineScript/install-log.txt
211211fi
212212
213213# ACME.sh
@@ -216,7 +216,7 @@ if [ "${ACME}" = 1 ];
216216 echo " ACME.sh script has already run"
217217 else
218218 /usr/local/bin/enginescript/scripts/install/acme/acme-install.sh
219- echo " ACME=1" >> /home /EngineScript/install-log.txt
219+ echo " ACME=1" >> /var/log /EngineScript/install-log.txt
220220fi
221221
222222# GCC
@@ -225,7 +225,7 @@ if [ "${GCC}" = 1 ];
225225 echo " GCC script has already run."
226226 else
227227 /usr/local/bin/enginescript/scripts/install/gcc/gcc-install.sh
228- echo " GCC=1" >> /home /EngineScript/install-log.txt
228+ echo " GCC=1" >> /var/log /EngineScript/install-log.txt
229229fi
230230
231231# OpenSSL
@@ -234,7 +234,7 @@ if [ "${OPENSSL}" = 1 ];
234234 echo " OPENSSL script has already run."
235235 else
236236 /usr/local/bin/enginescript/scripts/install/openssl/openssl-install.sh
237- echo " OPENSSL=1" >> /home /EngineScript/install-log.txt
237+ echo " OPENSSL=1" >> /var/log /EngineScript/install-log.txt
238238fi
239239
240240# Jemalloc
244244# echo "JEMALLOC script has already run."
245245# else
246246# /usr/local/bin/enginescript/scripts/install/jemalloc/jemalloc-install.sh
247- # echo "JEMALLOC=1" >> /home /EngineScript/install-log.txt
247+ # echo "JEMALLOC=1" >> /var/log /EngineScript/install-log.txt
248248# fi
249249
250250# Swap
@@ -253,7 +253,7 @@ if [ "${SWAP}" = 1 ];
253253 echo " SWAP script has already run."
254254 else
255255 /usr/local/bin/enginescript/scripts/install/swap/swap-install.sh
256- echo " SWAP=1" >> /home /EngineScript/install-log.txt
256+ echo " SWAP=1" >> /var/log /EngineScript/install-log.txt
257257fi
258258
259259# Kernel Tweaks
@@ -262,7 +262,7 @@ if [ "${KERNEL_TWEAKS}" = 1 ];
262262 echo " KERNEL TWEAKS script has already run."
263263 else
264264 /usr/local/bin/enginescript/scripts/install/kernel/kernel-tweaks-install.sh
265- echo " KERNEL_TWEAKS=1" >> /home /EngineScript/install-log.txt
265+ echo " KERNEL_TWEAKS=1" >> /var/log /EngineScript/install-log.txt
266266fi
267267
268268# Kernel Samepage Merging
@@ -271,7 +271,7 @@ if [ "${KSM}" = 1 ];
271271 echo " KSM script has already run."
272272 else
273273 /usr/local/bin/enginescript/scripts/install/kernel/ksm.sh
274- echo " KSM=1" >> /home /EngineScript/install-log.txt
274+ echo " KSM=1" >> /var/log /EngineScript/install-log.txt
275275fi
276276
277277# Raising System File Limits
@@ -280,7 +280,7 @@ if [ "${SFL}" = 1 ];
280280 echo " SYSTEM FILE LIMITS script has already run."
281281 else
282282 /usr/local/bin/enginescript/scripts/install/system-misc/file-limits.sh
283- echo " SFL=1" >> /home /EngineScript/install-log.txt
283+ echo " SFL=1" >> /var/log /EngineScript/install-log.txt
284284fi
285285
286286# NTP
@@ -289,7 +289,7 @@ if [ "${NTP}" = 1 ];
289289 echo " NTP script has already run."
290290 else
291291 /usr/local/bin/enginescript/scripts/install/systemd/timesyncd.sh
292- echo " NTP=1" >> /home /EngineScript/install-log.txt
292+ echo " NTP=1" >> /var/log /EngineScript/install-log.txt
293293fi
294294
295295# THP
299299 # echo "THP script has already run."
300300 # else
301301 # /usr/local/bin/enginescript/scripts/install/systemd/thp.sh
302- # echo "THP=1" >> /home /EngineScript/install-log.txt
302+ # echo "THP=1" >> /var/log /EngineScript/install-log.txt
303303# fi
304304
305305# PCRE
@@ -308,7 +308,7 @@ if [ "${PCRE}" = 1 ];
308308 echo " PCRE script has already run."
309309 else
310310 /usr/local/bin/enginescript/scripts/install/pcre/pcre-install.sh
311- echo " PCRE=1" >> /home /EngineScript/install-log.txt
311+ echo " PCRE=1" >> /var/log /EngineScript/install-log.txt
312312fi
313313
314314# zlib
@@ -317,7 +317,7 @@ if [ "${ZLIB}" = 1 ];
317317 echo " ZLIB script has already run."
318318 else
319319 /usr/local/bin/enginescript/scripts/install/zlib/zlib-install.sh
320- echo " ZLIB=1" >> /home /EngineScript/install-log.txt
320+ echo " ZLIB=1" >> /var/log /EngineScript/install-log.txt
321321fi
322322
323323# liburing
@@ -326,7 +326,7 @@ if [ "${LIBURING}" = 1 ];
326326 echo " LIBURING script has already run."
327327 else
328328 /usr/local/bin/enginescript/scripts/install/liburing/liburing-install.sh
329- echo " LIBURING=1" >> /home /EngineScript/install-log.txt
329+ echo " LIBURING=1" >> /var/log /EngineScript/install-log.txt
330330fi
331331
332332# UFW
@@ -335,7 +335,7 @@ if [ "${UFW}" = 1 ];
335335 echo " UFW script has already run."
336336 else
337337 /usr/local/bin/enginescript/scripts/install/ufw/ufw-install.sh
338- echo " UFW=1" >> /home /EngineScript/install-log.txt
338+ echo " UFW=1" >> /var/log /EngineScript/install-log.txt
339339fi
340340
341341# Cron
@@ -344,7 +344,7 @@ if [ "${CRON}" = 1 ];
344344 echo " CRON script has already run."
345345 else
346346 /usr/local/bin/enginescript/scripts/install/cron/cron-install.sh
347- echo " CRON=1" >> /home /EngineScript/install-log.txt
347+ echo " CRON=1" >> /var/log /EngineScript/install-log.txt
348348fi
349349
350350# MariaDB
@@ -385,7 +385,7 @@ if [ "${TOOLS}" = 1 ];
385385 echo " TOOLS script has already run."
386386 else
387387 /usr/local/bin/enginescript/scripts/install/tools/tools-install.sh
388- echo " TOOLS=1" >> /home /EngineScript/install-log.txt
388+ echo " TOOLS=1" >> /var/log /EngineScript/install-log.txt
389389fi
390390
391391# Cleanup
0 commit comments