Merge pull request #41 from linuxserver/s6v3
commit
ddd6ef1a99
@ -0,0 +1 @@
|
||||
oneshot
|
@ -0,0 +1 @@
|
||||
/etc/s6-overlay/s6-rc.d/init-ubooquity-config/run
|
@ -0,0 +1 @@
|
||||
3
|
@ -0,0 +1,10 @@
|
||||
#!/usr/bin/with-contenv 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
|
@ -0,0 +1 @@
|
||||
longrun
|
@ -1,11 +0,0 @@
|
||||
#!/usr/bin/with-contenv bash
|
||||
|
||||
JAVAMEM=${MAXMEM:-512}
|
||||
|
||||
cd /app/ubooquity || exit
|
||||
|
||||
exec \
|
||||
s6-setuidgid abc java -Xmx"$JAVAMEM"m \
|
||||
-jar /app/ubooquity/Ubooquity.jar \
|
||||
--headless --host 0.0.0.0 --remoteadmin \
|
||||
--workdir /config
|
Loading…
Reference in new issue