minecraft/rootfs/etc/confd/templates/run.tmpl
Sebastian Hugentobler f3060f7953 Update run.tmpl
2016-10-27 14:46:40 +02:00

5 lines
182 B
Cheetah

#!/usr/bin/with-contenv sh
cd /var/lib/minecraft
exec s6-setuidgid minecraft java -Xms{{getenv "MIN_RAM" "512M"}} -Xmx{{getenv "MAX_RAM" "512M"}} -jar /var/lib/minecraft/spigot.jar