apache-formula/apache/files/FreeBSD/envvars-2.4.jinja

21 lines
560 B
Plaintext
Raw Normal View History

{%- from "apache/map.jinja" import apache with context -%}
2017-01-05 12:32:44 +01:00
# Managed by saltstack
# envvars - default environment variables for apache2ctl
# this won't be correct after changing uid
unset HOME
2017-01-06 17:54:07 +01:00
APACHE_CONFDIR=/usr/local/etc/apache24
2017-01-05 12:32:44 +01:00
export APACHE_RUN_USER={{ apache.user }}
export APACHE_RUN_GROUP={{ apache.group }}
2017-01-06 17:54:07 +01:00
export APACHE_RUN_DIR={{ salt['pillar.get']('apache:run_dir', '/var/run') }}
2017-01-05 12:32:44 +01:00
## The locale used by some modules like mod_dav
2017-01-06 17:54:07 +01:00
export LANG=en_US.UTF-8
2017-01-05 12:32:44 +01:00
{%- for envvar in salt['pillar.get']('apache:envvars', []) %}
{{ envvar }}
{%- endfor %}