|
@ -510,3 +510,15 @@ $(__vhost_creds_statement | prefix " ") |
|
|
|
|
|
|
|
|
EOF |
|
|
EOF |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
apache_config_hash() { |
|
|
|
|
|
debug "Adding config hash to enable recreating upon config change." |
|
|
|
|
|
config_hash=$(find "$SERVICE_CONFIGSTORE/etc/apache2/sites-enabled" \ |
|
|
|
|
|
-name \*.conf -exec md5sum {} \; | md5_compat) || exit 1 |
|
|
|
|
|
init-config-add " |
|
|
|
|
|
$MASTER_BASE_SERVICE_NAME: |
|
|
|
|
|
labels: |
|
|
|
|
|
- compose.config_hash=$config_hash |
|
|
|
|
|
" |
|
|
|
|
|
} |