use new s6-rc layout

This commit is contained in:
Sebastian Hugentobler 2022-02-15 20:57:21 +01:00
parent 9c6eb03a31
commit b79e393eea
Signed by: shu
GPG key ID: BB32CF3CA052C2F0
8 changed files with 33 additions and 30 deletions

View file

@ -0,0 +1 @@
confd

View file

@ -0,0 +1,4 @@
#!/bin/sh
cd /var/lib/minecraft
exec s6-setuidgid minecraft java -Xms${MIN_RAM:-512M} -Xmx${MAX_RAM:-512M} -XX:+UseG1GC -jar /var/lib/minecraft/paper.jar

View file

@ -0,0 +1 @@
longrun

View file

@ -1,4 +1,4 @@
#!/usr/bin/with-contenv sh
#!/bin/sh
cd /var/lib/minecraft
exec s6-setuidgid minecraft java -Xms${MIN_RAM:-512M} -Xmx${MAX_RAM:-512M} -XX:+UseG1GC -jar /var/lib/minecraft/paper.jar