You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ubooquity/root/etc/s6-overlay/s6-rc.d/svc-ubooquity/run

12 lines
338 B

#!/usr/bin/with-contenv bash
# shellcheck shell=bash
JAVAMEM=${MAXMEM:-512}
exec \
s6-notifyoncheck -d -n 300 -w 1000 -c "nc -z localhost 2203" \
cd /app/ubooquity s6-setuidgid abc java -Xmx"$JAVAMEM"m \
-jar /app/ubooquity/Ubooquity.jar \
--headless --host 0.0.0.0 --remoteadmin \
--workdir /config