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:
ericgaspar 2022-03-22 13:28:27 +01:00
parent 98615813ad
commit 5072caac35
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -35,6 +35,12 @@ then
yunohost service remove $app
fi
if ynh_exec_warn_less yunohost service status "$mongodb_servicename" >/dev/null
then
ynh_script_progression --message="Removing $mongodb_servicename service integration..."
yunohost service remove "$mongodb_servicename"
fi
#=================================================
# STOP AND REMOVE SERVICE
#=================================================
@ -42,6 +48,7 @@ ynh_script_progression --message="Stopping and removing the systemd service..."
# Remove the dedicated systemd config
ynh_remove_systemd_config
ynh_remove_systemd_config --service=$mongodb_servicename
#=================================================
# REMOVE LOGROTATE CONFIGURATION