mirror of
https://github.com/linuxserver/docker-heimdall.git
synced 2025-10-27 03:03:38 +09:00
fix path
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user