mirror of
https://github.com/rustdesk/rustdesk-server.git
synced 2024-11-27 14:59:21 +08:00
This commit is contained in:
parent
b713303c15
commit
95fe0e5a78
2
debian/rustdesk-server-hbbr.postinst
vendored
2
debian/rustdesk-server-hbbr.postinst
vendored
@ -4,7 +4,7 @@ set -e
|
||||
SERVICE=rustdesk-hbbr.service
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
mkdir -p /var/log/rustdesk
|
||||
mkdir -p /var/log/rustdesk-server
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
|
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/rustdesk-hbbr.* /var/log/rustdesk/rustdesk-hbbs.*
|
||||
rm -rf /var/lib/rustdesk-server/ /var/log/rustdesk-server/rustdesk-hbbr.* /var/log/rustdesk-server/rustdesk-hbbs.*
|
||||
deb-systemd-helper purge "${SERVICE}" >/dev/null || true
|
||||
deb-systemd-helper unmask "${SERVICE}" >/dev/null || true
|
||||
fi
|
||||
|
2
debian/rustdesk-server-hbbs.postinst
vendored
2
debian/rustdesk-server-hbbs.postinst
vendored
@ -4,7 +4,7 @@ set -e
|
||||
SERVICE=rustdesk-hbbs.service
|
||||
|
||||
if [ "$1" = "configure" ]; then
|
||||
mkdir -p /var/log/rustdesk
|
||||
mkdir -p /var/log/rustdesk-server
|
||||
fi
|
||||
|
||||
case "$1" in
|
||||
|
Loading…
Reference in New Issue
Block a user