feat: debian packaging, release pipeline, and build scripts

- debian/postinst: create daena user, directories, reload systemd
- debian/prerm: stop and disable service on removal
- scripts/build-deb.sh: build self-contained .deb with all deps
- CI: add release job triggered by v* tags, builds wheel + .deb,
  uploads both to GitHub Release
This commit is contained in:
ahp
2026-07-15 11:54:20 +03:30
parent 782a193667
commit 13301087ad
4 changed files with 147 additions and 0 deletions
+11
View File
@@ -0,0 +1,11 @@
#!/bin/sh
set -e
case "$1" in
remove|upgrade|deconfigure)
if command -v systemctl >/dev/null 2>&1; then
systemctl stop daena.service >/dev/null 2>&1 || true
systemctl disable daena.service >/dev/null 2>&1 || true
fi
;;
esac