change forge
This commit is contained in:
parent
d331a6af5f
commit
e2584f3ec9
|
@ -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";
|
||||||
|
|
Loading…
Reference in a new issue