Saltstack Official Apache Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
594B

  1. #
  2. # This file is managed by Salt! Do not edit by hand!
  3. #
  4. {%- from "apache/map.jinja" import apache with context -%}
  5. # envvars - default environment variables for apache2ctl
  6. # this won't be correct after changing uid
  7. unset HOME
  8. APACHE_CONFDIR=/usr/local/etc/apache24
  9. export APACHE_RUN_USER={{ apache.user }}
  10. export APACHE_RUN_GROUP={{ apache.group }}
  11. export APACHE_RUN_DIR={{ salt['pillar.get']('apache:run_dir', '/var/run') }}
  12. ## The locale used by some modules like mod_dav
  13. export LANG=en_US.UTF-8
  14. {%- for envvar in salt['pillar.get']('apache:envvars', []) %}
  15. {{ envvar }}
  16. {%- endfor %}