mirror of
https://github.com/YunoHost-Apps/pgadmin_ynh.git
synced 2024-09-03 19:56:38 +02:00
Fix upgrade from old version
This commit is contained in:
parent
a29adfcf6a
commit
20279da147
1 changed files with 2 additions and 1 deletions
|
@ -27,7 +27,8 @@ ynh_clean_setup () {
|
|||
ynh_restore_upgradebackup # restore it if the upgrade fails
|
||||
}
|
||||
|
||||
ynh_systemd_action --service_name "uwsgi-app@$app.service" --action stop
|
||||
test -e /etc/uwsgi/apps-available/$app.ini && \
|
||||
ynh_systemd_action --service_name "uwsgi-app@$app.service" --action stop
|
||||
|
||||
#=================================================
|
||||
# STANDARD UPGRADE STEPS
|
||||
|
|
Loading…
Reference in a new issue