mirror of
https://github.com/YunoHost-Apps/rocketchat_ynh.git
synced 2024-09-03 20:16:25 +02:00
Update remove
This commit is contained in:
parent
a3f9e1f76e
commit
cc0114489b
1 changed files with 6 additions and 1 deletions
|
@ -61,7 +61,12 @@ ynh_systemd_action --service_name=mongod --action=restart --log_path=/var/log/mo
|
||||||
# Remove a database if it exists, along with the associated user
|
# Remove a database if it exists, along with the associated user
|
||||||
ynh_mongo_remove_db --db_user=$db_user --db_name=$db_name
|
ynh_mongo_remove_db --db_user=$db_user --db_name=$db_name
|
||||||
|
|
||||||
ynh_remove_mongo
|
#ynh_remove_mongo
|
||||||
|
|
||||||
|
# Remove mongod service
|
||||||
|
yunohost service remove mongod
|
||||||
|
ynh_secure_remove --file="/var/lib/mongodb"
|
||||||
|
ynh_secure_remove --file="/var/log/mongodb"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
Loading…
Reference in a new issue