From 11f0705d2947f705ad010b70167618e5866b1926 Mon Sep 17 00:00:00 2001 From: rodinux Date: Sun, 15 Jan 2023 16:41:11 +0100 Subject: [PATCH] file garradin_migration failed and end bash fi --- conf/garradin_migrations | 2 ++ scripts/upgrade | 1 + 2 files changed, 3 insertions(+) create mode 100644 conf/garradin_migrations diff --git a/conf/garradin_migrations b/conf/garradin_migrations new file mode 100644 index 0000000..fea5de3 --- /dev/null +++ b/conf/garradin_migrations @@ -0,0 +1,2 @@ +/$final_path +/etc/nginx/conf.d/$domain.d/$app.conf \ No newline at end of file diff --git a/scripts/upgrade b/scripts/upgrade index 5ae5714..830a4a7 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -80,6 +80,7 @@ if [[ $migration_process -eq 1 ]]; then ynh_system_user_delete --username="$old_app" useradd -d "$final_path" --system --user-group "$app" || \ ynh_die --message "Unable to create $app system account" +fi #================================================= # STANDARD UPGRADE STEPS