1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pixelfed_ynh.git synced 2024-09-03 20:06:04 +02:00

Update remove

This commit is contained in:
ericgaspar 2021-12-10 17:53:11 +01:00
parent d49a1411ea
commit dd9e7535a7
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -32,16 +32,16 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
if ynh_exec_warn_less yunohost service status "supervisor" >/dev/null
then
ynh_script_progression --message="Removing supervisor service..."
yunohost service remove "supervisor"
yunohost service remove "$app"
fi
#=================================================
# STOP AND REMOVE SERVICE
#=================================================
ynh_script_progression --message="Stopping and removing the supervisor service..."
ynh_script_progression --message="Stopping and removing the systemd service..."
# Remove the dedicated supervisor config
ynh_remove_supervisor_config --service="${app}-horizon"
ynh_remove_systemd_config
#=================================================
# REMOVE THE POSTGRESQL DATABASE