summarylogtreecommitdiffstats
path: root/bookman-cockpit.sh
blob: f841f205abeae41178d28403f9607e1e158a9f13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#!/bin/sh

export JAVA_HOME=/usr/lib/jvm/java-17-openjdk
home="${XDG_CONFIG_HOME:-"$HOME/.config"}/bookman-cockpit"

"${JAVA_HOME}/bin/java" \
    -Duser.home="$home" \
    -Dde.bookman.deployMode=LIVE \
    -Dde.bookman.javaBackendUri=https://cockpit.bookman-gmbh.de/api/java/ \
    -Dde.bookman.microsoftApplicationId=a7719d9a-1877-4bd1-a3c7-e3f8edf86485 \
    -Dde.bookman.microsoftSsoRedirectUrl=http://localhost:4826 \
    -cp "/opt/bookman-cockpit/override/:${JAVA_HOME}/lib/*:/opt/bookman-cockpit/jars/*" \
    de.bookman.start.MainGradle