mirror of https://github.com/MISP/misp-docker
Add exemption to entrypoint_nginx for taxonomies (#41)
parent
485feba927
commit
0673b30b2d
|
@ -148,7 +148,7 @@ EOT
|
||||||
|
|
||||||
update_misp_data_files(){
|
update_misp_data_files(){
|
||||||
for DIR in $(ls /var/www/MISP/app/files.dist); do
|
for DIR in $(ls /var/www/MISP/app/files.dist); do
|
||||||
if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] ; then
|
if [ "$DIR" = "certs" ] || [ "$DIR" = "img" ] || [ "$DIR" == "taxonomies" ] ; then
|
||||||
echo "... rsync -azh \"/var/www/MISP/app/files.dist/$DIR\" \"/var/www/MISP/app/files/\""
|
echo "... rsync -azh \"/var/www/MISP/app/files.dist/$DIR\" \"/var/www/MISP/app/files/\""
|
||||||
rsync -azh "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
|
rsync -azh "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue