mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Update remove
This commit is contained in:
parent
76a9148a6e
commit
ee1e77638e
1 changed files with 4 additions and 2 deletions
|
@ -51,8 +51,10 @@ ynh_remove_app_dependencies
|
|||
# REMOVE THE MONGO DATABASE
|
||||
#=================================================
|
||||
|
||||
mongo --shell "$dbname" --eval 'db.dropUser('dbuser');' <<< exit
|
||||
mongo --shell "$dbname" --eval 'db.dropDatabase();' <<< exit
|
||||
mongo -u $dbuser -p$dbpass --authenticationDatabase $dbname --shell "$dbname" --eval 'db.dropUser('dbuser');' <<< exit
|
||||
#mongo --shell "$dbname" --eval 'db.dropUser('dbuser');' <<< exit
|
||||
mongo -u $dbuser -p$dbpass --authenticationDatabase $dbname --shell "$dbname" --eval 'db.dropDatabase();' <<< exit
|
||||
#mongo --shell "$dbname" --eval 'db.dropDatabase();' <<< exit
|
||||
|
||||
#=================================================
|
||||
# REMOVE APP MAIN DIR
|
||||
|
|
Loading…
Reference in a new issue