Private
Public Access
1
0

fix: enable services, fix config parsing, make migrations idempotent

This commit is contained in:
Draco-Lunaris-Echo
2026-06-09 12:53:58 -05:00
parent ec41091721
commit 0e9230c99b
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)..."