apache-formula/apache/files/FreeBSD/envvars-2.4.jinja
2017-02-01 23:50:03 +01:00

20 lines
559 B
Django/Jinja

# Managed by saltstack
# envvars - default environment variables for apache2ctl
# this won't be correct after changing uid
unset HOME
APACHE_CONFDIR=/usr/local/etc/apache24
export APACHE_RUN_USER={{ salt['pillar.get']('apache:user', 'www') }}
export APACHE_RUN_GROUP={{ salt['pillar.get']('apache:group', 'www') }}
export APACHE_RUN_DIR={{ salt['pillar.get']('apache:run_dir', '/var/run') }}
## The locale used by some modules like mod_dav
export LANG=en_US.UTF-8
{%- for envvar in salt['pillar.get']('apache:envvars', []) %}
{{ envvar }}
{%- endfor %}