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.

22 lines
535B

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