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