minecraft/rootfs/etc/confd/templates/run.tmpl

5 lines
182 B
Cheetah
Raw Normal View History

2016-07-20 16:05:31 +00:00
#!/usr/bin/with-contenv sh
2016-07-20 17:07:16 +00:00
cd /var/lib/minecraft
2016-10-27 12:46:40 +00:00
exec s6-setuidgid minecraft java -Xms{{getenv "MIN_RAM" "512M"}} -Xmx{{getenv "MAX_RAM" "512M"}} -jar /var/lib/minecraft/spigot.jar