📦 — Add a make target for Debian packaging

This commit is contained in:
Luc Didry
2023-12-20 15:56:22 +01:00
parent 7afe7e9b6f
commit 9d847657d1
7 changed files with 138 additions and 1 deletions

6
DEBIAN/prerm Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
set -e
if [ -z "${DPKG_ROOT:-}" ] && [ "$1" = remove ] && [ -d /run/systemd/system ] ; then
deb-systemd-invoke stop 'reaction.service' >/dev/null || true
fi