scripts
scripts copied to clipboard
Use environment variable to determine hostname
Since the hostname might not be noted inside the currently used /etc/hostname file (for whatever reason), the designated environment variable should be used for determining the system's hostname instead. Otherwise, the apache config will contain a wrong or even empty ServerName, causing the setup to fail.