1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/weblate_ynh.git synced 2024-10-01 13:35:04 +02:00

Make sure the service is stoped for removing

This commit is contained in:
Jean-Baptiste Holcroft 2018-10-15 22:44:02 +02:00
parent a49d61e52e
commit 3ed8265e35

View file

@ -17,6 +17,12 @@ app=$YNH_APP_INSTANCE_NAME
domain=$(ynh_app_setting_get "$app" domain) domain=$(ynh_app_setting_get "$app" domain)
db_name=$(ynh_app_setting_get "$app" db_name) db_name=$(ynh_app_setting_get "$app" db_name)
#=================================================
# STOP WEBLATE'S SERVICE
#=================================================
systemctl stop "uwsgi-app@$app.service"
#================================================= #=================================================
# REMOVE THE PostgreSQL DATABASE # REMOVE THE PostgreSQL DATABASE
#================================================= #=================================================