add rpm generation code
Some checks failed
continuous-integration/drone/push Build was killed

This commit is contained in:
2026-01-13 20:09:19 +11:00
parent a81613a8c2
commit 3ceba1a117
22 changed files with 388 additions and 290 deletions

8
src/postremove.sh Normal file
View File

@@ -0,0 +1,8 @@
#!/bin/bash
if command -v systemctl >/dev/null 2>&1; then
systemctl daemon-reload || :
if [ "$1" -ge 1 ]; then
systemctl try-restart vctp.service || :
fi
fi