summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-07 02:05:52 +0000
commita23aec9d260921f5e491c0b1d6b939bffb51563e (patch)
treeb2d3f7ef9f6a4821ee081bda0fff6d1c59db47c8 /debian
parentSetting Restart to always in systemd unit. (diff)
downloadapache2-a23aec9d260921f5e491c0b1d6b939bffb51563e.tar.xz
apache2-a23aec9d260921f5e491c0b1d6b939bffb51563e.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)