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:
parent
98615813ad
commit
cc2034f970
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue