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.

15 lines
297 B

  1. #!/bin/bash
  2. ## Should be executable N time in a row with same result.
  3. . lib/common
  4. set -e
  5. cfg=$(relation-get)
  6. apache_publish_dir "$cfg"
  7. APACHE_CORE_RULES=$(relation-get apache-core-rules 2>/dev/null) || true
  8. if [ "$APACHE_CORE_RULES" ]; then
  9. apache_core_rules_add "$APACHE_CORE_RULES"
  10. fi