add packaging scripts

This commit is contained in:
2026-02-08 14:33:02 +08:00
parent 9b20887cc2
commit 6eb6ff6425
8 changed files with 152 additions and 0 deletions

8
packaging/ubuntu/prerm Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
set -e
if command -v systemctl >/dev/null 2>&1; then
systemctl stop bitoj.service >/dev/null 2>&1 || true
fi
exit 0