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