Added initial support for Debian and Ubuntu to apache module.

This commit is contained in:
Ossi Salmi 2010-10-23 03:43:35 +03:00 committed by Timo Mkinen
parent 7075ad243d
commit fa53a19798
3 changed files with 445 additions and 73 deletions

View file

@ -0,0 +1,19 @@
# envvars - default environment variables for apache2ctl
# Since there is no sane way to get the parsed apache2 config in scripts, some
# settings are defined via environment variables and then used in apache2ctl,
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
export APACHE_RUN_USER=<%= httpd_user %>
export APACHE_RUN_GROUP=<%= httpd_group %>
export APACHE_PID_FILE=/var/run/apache2.pid
## The locale used by some modules like mod_dav
export LANG=C
## Uncomment the following line to use the system default locale instead:
#. /etc/default/locale
export LANG
## The command to get the status for 'apache2ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'