Fix bug.
This commit is contained in:
parent
25eabb38e9
commit
1fb83b89e5
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue