chore : import initial du package veille-ia-gen_ynh (packaging v2, helpers 2.1)

Extrait du dépôt veille-ia-gen (socle phase 0).
manifest validé contre le schéma officiel manifest.v2.schema.json ;
sha256 de l'archive sources en placeholder jusqu'à la release v0.1.0.
This commit is contained in:
cyber-mawonaj
2026-08-01 09:44:31 -04:00
commit c6caa5024f
16 changed files with 466 additions and 0 deletions
Executable
+19
View File
@@ -0,0 +1,19 @@
#!/bin/bash
source ../settings/scripts/_common.sh
source /usr/share/yunohost/helpers
ynh_print_info "Déclaration des fichiers à sauvegarder..."
# Code + build + .env (reconstruisible, mais sauvegardé pour une restauration rapide).
ynh_backup "$install_dir"
# Données : registre/profils YAML + dépôt git interne.
# (Ignoré par le backup de sécurité pré-upgrade — comportement standard du cœur.)
ynh_backup "$data_dir"
ynh_backup "/etc/nginx/conf.d/$domain.d/$app.conf"
ynh_backup "/etc/systemd/system/$app.service"
ynh_print_info "Sauvegarde de veille-ia terminée"