aboutsummaryrefslogtreecommitdiffhomepage
path: root/debian/rustdesk-server-hbbr.prerm
diff options
context:
space:
mode:
authorPaolo Asperti <[email protected]>2022-07-15 15:48:54 +0200
committerPaolo Asperti <[email protected]>2022-07-15 18:40:54 +0200
commit3340322355ed8439ee998884d15c09e3674f09d3 (patch)
tree6f27d3ca34ba5ad8bf1c442096bac2894f9424a9 /debian/rustdesk-server-hbbr.prerm
parent39153ce1472417be101051baecb452da467f2652 (diff)
downloadrustdesk-server-3340322355ed8439ee998884d15c09e3674f09d3.tar.gz
rustdesk-server-3340322355ed8439ee998884d15c09e3674f09d3.zip
deb packaging
Diffstat (limited to 'debian/rustdesk-server-hbbr.prerm')
-rw-r--r--debian/rustdesk-server-hbbr.prerm13
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/rustdesk-server-hbbr.prerm b/debian/rustdesk-server-hbbr.prerm
new file mode 100644
index 0000000..394fc85
--- /dev/null
+++ b/debian/rustdesk-server-hbbr.prerm
@@ -0,0 +1,13 @@
+#!/bin/sh
+set -e
+
+SERVICE=rustdesk-hbbr.service
+
+case "$1" in
+ remove|deconfigure)
+ deb-systemd-invoke stop "${SERVICE}" >/dev/null || true
+ deb-systemd-invoke disable "${SERVICE}" >/dev/null || true
+ ;;
+esac
+
+exit 0