summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:19 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:49:19 +0000
commit8f532f607ebbc7830e52c94dd48ac2bf5a3eb79b (patch)
tree12812fb5671d3c5cb94fbbc07c36ce4fca535f8a
parentSetting Restart to always in systemd unit. (diff)
downloadapache2-8f532f607ebbc7830e52c94dd48ac2bf5a3eb79b.tar.xz
apache2-8f532f607ebbc7830e52c94dd48ac2bf5a3eb79b.zip
Exporting hostname variable in global environment.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/config-dir/envvars2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/config-dir/envvars b/debian/config-dir/envvars
index 708d170..3d2c4e7 100644
--- a/debian/config-dir/envvars
+++ b/debian/config-dir/envvars
@@ -45,3 +45,5 @@ export LANG
## This will produce a verbose output on package installations of web server modules and web application
## installations which interact with Apache
#export APACHE2_MAINTSCRIPT_DEBUG=1
+
+export HOSTNAME=$(cat /etc/hostname)