Evite de redeployer toute l'infrastructure a chaque update Proxmox

This commit is contained in:
2026-04-14 22:57:34 +02:00
parent 95575bef5f
commit 260b839f93
3 changed files with 13 additions and 7 deletions

View File

@@ -439,7 +439,9 @@ ensure_docker_stack() {
fi
systemctl enable docker >/dev/null 2>&1 || true
systemctl restart docker
if ! systemctl is-active --quiet docker; then
systemctl start docker
fi
}
sync_git_repo() {
@@ -633,8 +635,8 @@ disable_legacy_nginx() {
prepare_disk_space() {
cd \"\$deploy_dir\"
docker compose down || true
docker system prune -af || true
docker builder prune -af || true
docker image prune -f || true
apt-get clean || true
rm -rf /var/lib/apt/lists/* || true
}