This commit is contained in:
chaos 2024-08-08 18:42:13 +01:00
parent dd5663bfd5
commit 242edfc0c7
No known key found for this signature in database

View file

@ -65,7 +65,7 @@ in {
after = ["network.target" "minecraft-server.socket"]; after = ["network.target" "minecraft-server.socket"];
serviceConfig = { serviceConfig = {
ExecStart = "${jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms2048M -jar forge-1.4.7-6.6.2.534-universal.jar nogui"; ExecStart = "${pkgs.jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms2048M -jar forge-1.4.7-6.6.2.534-universal.jar nogui";
ExecStop = "${stopScript} $MAINPID"; ExecStop = "${stopScript} $MAINPID";
Restart = "always"; Restart = "always";
User = "minecraft"; User = "minecraft";