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.

20 line
559B

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