diff --git a/scripts/backup b/scripts/backup index 661d0ae..ccb21f8 100644 --- a/scripts/backup +++ b/scripts/backup @@ -43,6 +43,5 @@ ynh_backup --src_path "/var/log/uwsgi/$app" # BACKUP THE UWSGI FILES ynh_script_progression --message="Backing up configuration..." ynh_backup --src_path "/etc/uwsgi/apps-available/$app.ini" -ynh_backup --src_path "/etc/systemd/system/uwsgi-app@.service" ynh_script_progression --message="Backup script completed for $app. (YunoHost will then actually copy those files to the archive)." --last diff --git a/scripts/restore b/scripts/restore index d36d85c..d21cc53 100644 --- a/scripts/restore +++ b/scripts/restore @@ -56,7 +56,7 @@ yunohost service add "uwsgi-app@$app.service" --log "/var/log/uwsgi/app/$app" ynh_script_progression --message="Reloading services..." --weight=3 -systemctl daemon-reload +ynh_check_global_uwsgi_config systemctl enable "uwsgi-app@$app.service" # RELOAD NGINX AND UWSGI