Add elwig-backend.service to .deb package

This commit is contained in:
2025-04-30 16:56:35 +02:00
parent 60be49d31d
commit fbb1a62284
8 changed files with 98 additions and 16 deletions

5
pkg/prerm Executable file
View File

@ -0,0 +1,5 @@
#!/bin/sh
set -e
if [ -d /run/systemd/system ] && [ "$1" = remove ]; then
deb-systemd-invoke stop 'elwig-backend.service' >/dev/null || true
fi