add java.security
This commit is contained in:
parent
242edfc0c7
commit
b64d4f2da2
|
@ -65,7 +65,7 @@ in {
|
|||
after = ["network.target" "minecraft-server.socket"];
|
||||
|
||||
serviceConfig = {
|
||||
ExecStart = "${pkgs.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 -Xms1024M -Djava.security.properties=java.security -jar forge-1.4.7-6.6.2.534-universal.jar nogui";
|
||||
ExecStop = "${stopScript} $MAINPID";
|
||||
Restart = "always";
|
||||
User = "minecraft";
|
||||
|
|
Loading…
Reference in a new issue