diff options
author | Paolo Asperti <[email protected]> | 2022-07-15 15:48:54 +0200 |
---|---|---|
committer | Paolo Asperti <[email protected]> | 2022-07-15 18:40:54 +0200 |
commit | 3340322355ed8439ee998884d15c09e3674f09d3 (patch) | |
tree | 6f27d3ca34ba5ad8bf1c442096bac2894f9424a9 /debian/rustdesk-server-hbbr.prerm | |
parent | 39153ce1472417be101051baecb452da467f2652 (diff) | |
download | rustdesk-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.prerm | 13 |
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 |