mirror of
https://github.com/fankes/beszel.git
synced 2025-10-20 02:09:28 +08:00
Create Debian package for beszel-agent (#497)
* Add Debian package to build Signed-off-by: Daniel Lo Nigro <git@d.sb> * Fix Lintian issues Signed-off-by: Daniel Lo Nigro <git@d.sb> * - Add prerm script to stop and disable service - Add security/sandboxing options to systemd unit Signed-off-by: Daniel Lo Nigro <git@d.sb> --------- Signed-off-by: Daniel Lo Nigro <git@d.sb>
This commit is contained in:
9
supplemental/debian/prerm.sh
Normal file
9
supplemental/debian/prerm.sh
Normal file
@@ -0,0 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
SERVICE=beszel-agent
|
||||
|
||||
deb-systemd-invoke stop "$SERVICE".service
|
||||
if [ "$1" = "remove" ]; then
|
||||
deb-systemd-helper purge "$SERVICE".service
|
||||
fi
|
Reference in New Issue
Block a user