correctly add service

This commit is contained in:
Sebastian Hugentobler 2020-08-03 16:15:03 +02:00
parent 31b8592450
commit e17d4c601b
3 changed files with 4 additions and 8 deletions

View file

@ -1,4 +0,0 @@
#!/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