1
0
Fork 0
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:
Josué Tille 2019-08-19 23:41:09 +02:00
parent a29adfcf6a
commit 20279da147
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -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