mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-14 13:02:58 +02:00
apache: Write hostname into configuration at boot time
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
@@ -61,6 +61,9 @@ case "$1" in
|
||||
# Generate all required certificates
|
||||
generate_certificates
|
||||
|
||||
# Update hostname
|
||||
echo "ServerName ${HOSTNAME}" > /etc/httpd/conf/hostname.conf
|
||||
|
||||
boot_mesg "Starting Apache daemon..."
|
||||
/usr/sbin/apachectl -k start
|
||||
evaluate_retval
|
||||
|
||||
Reference in New Issue
Block a user