This commit is contained in:
BoHung Chiu 2022-07-08 21:40:25 +08:00
parent 25eabb38e9
commit 1fb83b89e5
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ else
cd $local_store_path
sudo_command cp -f "$(basename $nginx_file)" /etc/nginx/orbit_sites/.
new_nginx_file="/etc/nginx/orbit_sites/$(basename $nginx_file)"
mongorestore -d $db_name $(basename $mongo_output) --drop
mongorestore -d $db_name $(basename $mongo_output)/$db_name --drop
if [[ ! -z $match_ssl ]]; then
if [[ ! -z $org_ssl_dir ]]; then
sudo_command mkdir -p $org_ssl_dir