forked from 0k/0k-charms
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
15 lines
297 B
#!/bin/bash
|
|
|
|
## Should be executable N time in a row with same result.
|
|
|
|
. lib/common
|
|
|
|
set -e
|
|
|
|
cfg=$(relation-get)
|
|
apache_publish_dir "$cfg"
|
|
|
|
APACHE_CORE_RULES=$(relation-get apache-core-rules 2>/dev/null) || true
|
|
if [ "$APACHE_CORE_RULES" ]; then
|
|
apache_core_rules_add "$APACHE_CORE_RULES"
|
|
fi
|