change forge

This commit is contained in:
chaos 2024-08-08 19:24:27 +01:00
parent d331a6af5f
commit e2584f3ec9
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 = "${pkgs.jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms1024M -Djava.security.properties=java.security -jar forge-1.4.7-6.6.2.534-universal.jar nogui"; ExecStart = "${pkgs.jdk8.jre}/bin/java -XX:+UseG1GC -XX:+UnlockExperimentalVMOptions -Xmx4096M -Xms1024M -Djava.security.properties=java.security -jar forge-1.7.10-10.13.4.1558-1.7.10-universal.jar nogui";
ExecStop = "${stopScript} $MAINPID"; ExecStop = "${stopScript} $MAINPID";
Restart = "always"; Restart = "always";
User = "minecraft"; User = "minecraft";