20 lines
841 B
Text
20 lines
841 B
Text
# 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=<%= scope.lookupvar('apache::common::user') %>
|
|
export APACHE_RUN_GROUP=<%= scope.lookupvar('apache::common::group') %>
|
|
export APACHE_PID_FILE=/var/run/apache2.pid
|
|
export APACHE_RUN_DIR=/var/run/apache2
|
|
|
|
## 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'
|