dbeaver/pro#6716 rename server scripts (#3762)

This commit is contained in:
Ainur
2025-09-26 10:16:35 +02:00
committed by GitHub
parent 4f7c7ba808
commit 69f2a57be5
10 changed files with 12 additions and 12 deletions
@@ -6,4 +6,4 @@ if [[ $# -eq 0 ]] ;
fi
set -- "$@" -cli-mode
source run-server.sh "$@"
source run-cloudbeaver-server.sh "$@"
+3 -3
View File
@@ -12,8 +12,8 @@ if [ "$(id -u)" -eq 0 ]; then
TARGET_GID=${TARGET_GID:-$DBEAVER_GID}
chown -R $DBEAVER_UID:$DBEAVER_GID $PWD/workspace
# Execute run-server.sh as the dbeaver user with the JAVA_HOME and PATH environment variables
exec su "$TARGET_USER" -c "JAVA_HOME=$JAVA_HOME PATH=$PATH ./run-server.sh"
# Execute run-cloudbeaver-server.sh as the dbeaver user with the JAVA_HOME and PATH environment variables
exec su "$TARGET_USER" -c "JAVA_HOME=$JAVA_HOME PATH=$PATH ./run-cloudbeaver-server.sh"
else
exec ./run-server.sh
exec ./run-cloudbeaver-server.sh
fi