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:
parent
a49d61e52e
commit
3ed8265e35
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue