]> git.immae.eu Git - github/bastienwirtz/homer.git/blobdiff - entrypoint.sh
Merge pull request #485 from Tooa/fix-healthchecks-service-name
[github/bastienwirtz/homer.git] / entrypoint.sh
index eba1cb20ac3c39d79c92d35640cb36b10adcae24..48df1e6fb0371736b1de622b61021c212a8e71f5 100644 (file)
@@ -3,7 +3,7 @@
 PERMISSION_ERROR="Check assets directory permissions & docker user or skip default assets install by setting the INIT_ASSETS env var to 0"
 
 # Default assets & exemple configuration installation if possible.
-if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/config.yml" ]]; then
+if [[ "${INIT_ASSETS}" == "1" ]] && [[ ! -f "/www/assets/config.yml" ]]; then
     echo "No configuration found, installing default config & assets"
     if [[ ! -w "/www/assets/" ]]; then echo "Assets directory not writable. $PERMISSION_ERROR" && exit 1; fi