1
0
Fork 0
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:
Éric Gaspar 2023-08-27 23:30:03 +02:00
parent a3f9e1f76e
commit cc0114489b

View file

@ -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