Bug#880421: document a2* environment files in man page
Package: apache2
Version: 2.4.29-1
Severity: minor
Tags: patch
Hi,
please consider the following patch to the a2enmod.8 manual page, and
probably for the other a2* man pages as well:
--- a2enmod.8.orig 2017-10-31 12:44:50.637454116 +0100
+++ a2enmod.8 2017-10-31 12:57:25.827865519 +0100
@@ -79,6 +79,28 @@
module, and disables the
.B mod_mime_magic
module.
+.SH "ENVIRONMENT"
+.sp
+The following environment variables may be specified\&.
+.sp
+.TP
+.B dir_suffix
+Distinguish different instances of apache2. Suffixes /etc/apache2 to build a new APACHE_CONFDIR
+.TP
+.B APACHE_CONFDIR
+Override the entire configuraation directory (/etc/apache2$dir_suffix)
+.TP
+.B APACHE_ENVVARS
+Override the default envvars file (/etc/apache2$dir_suffix/envvars)
+.TP
+.B APACHE_{MODS,CONF,SITES}_AVAIL
+Override the path to the directory holding the available snippets for modules, configuration and sites.
+.TP
+.B APACHE_{MODS,CONF,SITES}_ENABLED
+Override the path to the directory holding the enabled snippets for modules, configuration and sites. For example, in a multi-instance setup, you can set dir_suffix=-myinstance and override APACHE_MODS_AVAIL back to /etc/apache2/mods-available to have a single store of snippets for all instances
+.TP
+.B APACHE_STATE_DIRECTORY
+Override the path to the state directory (/var/lib/apache2)
.SH FILES
.TP
.B /etc/apache2/mods-available
Reply to: