Compare commits

..

No commits in common. "051ae901b4dfbe307e703aba48a737496e187c31" and "c2e55763cefa1fb254688a89f382cd1fa73ee95b" have entirely different histories.

2 changed files with 2 additions and 13 deletions

View File

@ -1 +1 @@
0.3.1
0.3.0

View File

@ -455,21 +455,10 @@ extendedKeyUsage = serverAuth
chown(LOGS_DIR)
for svc in SERVICES:
run(f"systemctl enable --now {svc}")
log(f"{svc} avviato")
if Path("/etc/systemd/system/iride-updater.path").exists():
run("systemctl enable --now iride-updater.path")
log("Aggiornamento dalla console attivo (iride-updater.path)")
# 11b. Scansione antivirus degli allegati (IRIDE B-265): lo stesso script usato
# sui server esistenti, eseguito a servizi avviati. Non blocca l'installazione:
# se fallisce o la RAM non basta, la scansione resta disattivata.
clam = APP_DIR / "scripts/enable_clamav.sh"
if clam.exists():
log("── Scansione antivirus degli allegati (ClamAV) ──")
res = run(f"bash {clam} --yes", check=False)
log("Scansione antivirus attiva" if res.returncode == 0 else
"ATTENZIONE: scansione antivirus NON attivata (RAM insufficiente o firme non scaricate): "
f"rilanciare 'sudo bash {clam}' dopo l'installazione")
log(f"{svc} avviato")
# 12. Licenza in posizione finale
log("── Copia licenza in posizione finale ──")