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

20 lines
559 B
Plaintext
Raw Normal View History

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
2017-01-06 17:54:07 +01:00
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') }}
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 %}