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 (#106)

This commit is contained in:
Éric Gaspar 2022-03-22 22:21:23 +01:00 committed by GitHub
parent 98615813ad
commit cc2034f970
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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