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