summaryrefslogtreecommitdiffstats
path: root/debian/config-dir/envvars
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 15:17:08 +0000
commit7566179fd61c4e2c83b01ca27b4acacd9fa03cc5 (patch)
tree6178379b2dfadfe65d7a2caed9b671204cb0953e /debian/config-dir/envvars
parentSetting Restart to always in systemd unit. (diff)
downloadapache2-7566179fd61c4e2c83b01ca27b4acacd9fa03cc5.tar.xz
apache2-7566179fd61c4e2c83b01ca27b4acacd9fa03cc5.zip
Exporting hostname variable in global environment.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/config-dir/envvars')
-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)