Private
Public Access
1
0

feat: Add .deb packaging for Ubuntu 24.04 release

- debian/control: Package metadata with dependencies
- debian/postinst: Service user, dirs, JWT key gen, config, cron setup
- debian/prerm: Graceful service stop before upgrade
- debian/postrm: Purge cleanup (user, data, config, cron)
- debian/changelog: 1.0.0-1 initial release
- debian/install: File manifest
- scripts/build-package.sh: Full build pipeline (cargo release, frontend, dpkg-deb)
- .gitignore: Exclude *.deb and package-build/
This commit is contained in:
2026-04-24 00:58:38 +00:00
parent 297bf1bd83
commit 4e992afacc
9 changed files with 332 additions and 0 deletions

9
debian/install vendored Normal file
View File

@ -0,0 +1,9 @@
usr/local/bin/pm-web
usr/local/bin/pm-worker
usr/local/bin/backup.sh
usr/share/patch-manager/frontend/*
usr/share/patch-manager/config.example.toml
usr/share/patch-manager/migrations/*
lib/systemd/system/patch-manager-web.service
lib/systemd/system/patch-manager-worker.service
lib/systemd/system/patch-manager.target