Proxmox-scripts/CODE-AUDIT.md

1.7 KiB

Exploring the Scripts and Steps Involved in an Application LXC Installation

In the case of the AdGuard Home LXC, the process involves running multiple scripts for each application or service.
Initially, the adguard.sh script is executed to collect system parameters.
Next, the build.func script adds user settings and integrates all the collected information.
Then, the create_lxc.sh script constructs the LXC container.
Following that, the adguard-install.sh script is executed, which utilizes the functions exported from the install.func script for installing the required applications.
Finally, the process returns to the adguard.sh script to display the completion message.

Thoroughly evaluating the adguard-install.sh script is crucial to gain a better understanding of the application installation process.
Every application installation utilizes the same set of reusable scripts: build.func, create_lxc.sh, and install.func. These scripts are not specific to any particular application.