rustdesk-server-hbbr.postrm 397 B

12345678910111213141516171819
  1. #!/bin/sh
  2. set -e
  3. SERVICE=rustdesk-hbbr.service
  4. systemctl --system daemon-reload >/dev/null || true
  5. if [ "$1" = "purge" ]; then
  6. rm -rf /var/log/rustdesk-server/rustdesk-hbbr.*
  7. deb-systemd-helper purge "${SERVICE}" >/dev/null || true
  8. deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
  9. fi
  10. if [ "$1" = "remove" ]; then
  11. deb-systemd-helper mask "${SERVICE}" >/dev/null || true
  12. fi
  13. exit 0