mirror of https://github.com/MISP/misp-docker
Fix #16 Remote Servers Certificates persistence issue
parent
b51887462f
commit
5b91567810
|
@ -147,8 +147,13 @@ EOT
|
|||
|
||||
update_misp_data_files(){
|
||||
for DIR in $(ls /var/www/MISP/app/files.dist); do
|
||||
echo "... rsync -azh --delete \"/var/www/MISP/app/files.dist/$DIR\" \"/var/www/MISP/app/files/\""
|
||||
rsync -azh --delete "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
|
||||
if [ "$DIR" = "certs" ]; then
|
||||
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/"
|
||||
else
|
||||
echo "... rsync -azh --delete \"/var/www/MISP/app/files.dist/$DIR\" \"/var/www/MISP/app/files/\""
|
||||
rsync -azh --delete "/var/www/MISP/app/files.dist/$DIR" "/var/www/MISP/app/files/"
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue