Private
Public Access
1
0

fix: enable services, fix config parsing, make migrations idempotent (#62)

This commit is contained in:
Draco-Lunaris-Echo
2026-06-09 13:04:11 -05:00
committed by GitHub
parent ec41091721
commit 4cac290502
8 changed files with 133 additions and 85 deletions

3
debian/postinst vendored
View File

@ -349,6 +349,9 @@ enable_and_start_services() {
# Enable the target (which pulls in web + worker)
systemctl enable patch-manager.target 2>/dev/null || true
# Enable individual services so they survive a reboot
systemctl enable patch-manager-web.service patch-manager-worker.service 2>/dev/null || true
# Start or restart services
if systemctl is-active --quiet patch-manager.target 2>/dev/null; then
info "Restarting patch-manager services (upgrade)..."