Update run.tmpl

This commit is contained in:
Sebastian Hugentobler 2016-10-27 14:46:40 +02:00 committed by GitHub
parent ce7a19f9d5
commit f3060f7953

View File

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