mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-23 19:49:20 +08:00
fix postrm
This commit is contained in:
parent
95fe0e5a78
commit
d6f99ed9a2
2
debian/rustdesk-server-hbbr.postrm
vendored
2
debian/rustdesk-server-hbbr.postrm
vendored
@ -6,7 +6,7 @@ SERVICE=rustdesk-hbbr.service
|
||||
systemctl --system daemon-reload >/dev/null || true
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
rm -rf /var/lib/rustdesk-server/ /var/log/rustdesk-server/rustdesk-hbbr.* /var/log/rustdesk-server/rustdesk-hbbs.*
|
||||
rm -rf /var/log/rustdesk-server/rustdesk-hbbr.*
|
||||
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
|
||||
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
|
||||
fi
|
||||
|
2
debian/rustdesk-server-hbbs.postrm
vendored
2
debian/rustdesk-server-hbbs.postrm
vendored
@ -6,7 +6,7 @@ SERVICE=rustdesk-hbbs.service
|
||||
systemctl --system daemon-reload >/dev/null || true
|
||||
|
||||
if [ "$1" = "purge" ]; then
|
||||
rm -rf /var/lib/rustdesk-server/
|
||||
rm -rf /var/lib/rustdesk-server/ /var/log/rustdesk-server/rustdesk-hbbs.*
|
||||
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
|
||||
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
|
||||
fi
|
||||
|
Loading…
Reference in New Issue
Block a user