create debian package framework and git action job

This commit is contained in:
cosmicpsyop
2023-12-17 19:50:27 -08:00
parent cec2ba9006
commit b02740d6cc
10 changed files with 165 additions and 0 deletions

12
debian/prerm vendored Normal file
View File

@ -0,0 +1,12 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ]; then
systemctl stop strfry
systemctl disable strfry
fi
if [ "$1" = "upgrade" ]; then
systemctl stop strfry
fi