pull/4/head
Neil 8 years ago committed by GitHub
parent e319da05cf
commit ebfb907287

@ -1,9 +1,18 @@
#!/usr/bin/with-contenv bash
if [ -e "$MAXMEM" ]
then
JAVAMEM="$MAXMEM"
else
JAVAMEM="512"
fi
JAVAMEM=${MAXMEM:-512}
cd /opt/ubooquity || exit
exec \
s6-setuidgid abc java -Xmx512m\
s6-setuidgid abc java -Xmx"$JAVAMEM"m\
-jar /opt/ubooquity/Ubooquity.jar \
--headless --host 0.0.0.0 \
--port 2202 --webadmin \

Loading…
Cancel
Save