fix logdir creation

This commit is contained in:
Paolo Asperti
2023-01-18 18:19:12 +01:00
parent f8936eff93
commit be2ce5c93b
3 changed files with 9 additions and 1 deletions

View File

@@ -3,6 +3,10 @@ set -e
SERVICE=rustdesk-hbbr.service
if [ "$1" = "configure" ]; then
mkdir -p /var/log/rustdesk
fi
case "$1" in
configure|abort-upgrade|abort-deconfigure|abort-remove)
mkdir -p /var/lib/rustdesk-server/