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

2 years ago
#!/usr/bin/with-contenv bash
2 years ago
# shellcheck shell=bash
2 years ago
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