From 67c85fb06a3e6f1e34c21a9310aab146f27b2aa6 Mon Sep 17 00:00:00 2001 From: aptalca Date: Sun, 13 Mar 2022 23:17:16 -0400 Subject: [PATCH] fix path --- root/etc/cont-init.d/50-config | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/root/etc/cont-init.d/50-config b/root/etc/cont-init.d/50-config index f8c199c..c04c31a 100644 --- a/root/etc/cont-init.d/50-config +++ b/root/etc/cont-init.d/50-config @@ -15,7 +15,7 @@ mkdir -p \ echo -e '\n# Heimdall user authorization\nfastcgi_param PHP_AUTH_USER $remote_user;\nfastcgi_param PHP_AUTH_PW $http_authorization;' >> \ /etc/nginx/fastcgi_params && \ rm -rf /heimdall && \ - cp /var/www/localhost/heimdall/app/searchproviders.yaml /var/www/localhost/heimdall/app/searchproviders.yaml.orig && \ + cp /var/www/localhost/heimdall/storage/app/searchproviders.yaml /var/www/localhost/heimdall/storage/app/searchproviders.yaml.orig && \ chown -R abc:abc /var/www/localhost/heimdall # create symlinks @@ -46,9 +46,9 @@ done php /var/www/localhost/heimdall/artisan key:generate # copy searchproviders if not exists and symlink [[ ! -f /config/www/searchproviders.yaml ]] && \ - cp /var/www/localhost/heimdall/app/searchproviders.yaml.orig /config/www/searchproviders.yaml -rm -rf /var/www/localhost/heimdall/app/searchproviders.yaml -ln -s /config/www/searchproviders.yaml /var/www/localhost/heimdall/app/searchproviders.yaml + cp /var/www/localhost/heimdall/storage/app/searchproviders.yaml.orig /config/www/searchproviders.yaml +rm -rf /var/www/localhost/heimdall/storage/app/searchproviders.yaml +ln -s /config/www/searchproviders.yaml /var/www/localhost/heimdall/storage/app/searchproviders.yaml # set queue driver to database sed -i 's/QUEUE_DRIVER=sync/QUEUE_DRIVER=database/' /config/www/.env