fix(eientei): remove minecraft reverse proxy

This commit is contained in:
514fpv 2024-06-03 16:03:15 +08:00
parent 6bfa47caaf
commit 4a09f05183
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -2,10 +2,15 @@
inherit (lib) mapAttrs' nameValuePair; inherit (lib) mapAttrs' nameValuePair;
servers = { servers = {
bungeecord = { #bungeecord = {
cmdline = "${pkgs.graalvmCEPackages.graalvm-ce}/bin/java -Xms2G -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -jar BungeeCord.jar"; # cmdline = "${pkgs.graalvmCEPackages.graalvm-ce}/bin/java -Xms2G -Xmx4G -XX:+UseG1GC -XX:G1HeapRegionSize=4M -XX:+UnlockExperimentalVMOptions -XX:+ParallelRefProcEnabled -XX:+AlwaysPreTouch -jar waterfall-1.20-578.jar";
stop = "end"; # stop = "end";
}; #};
#limbo = {
# cmdline = "${pkgs.graalvmCEPackages.graalvm-ce}/bin/java -Xms1G -Xmx1G -jar NanoLimbo-1.8-all.jar";
# stop = "stop";
#};
nfwc = { nfwc = {
cmdline = "${pkgs.jdk}/bin/java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19.2-43.3.8/unix_args.txt"; cmdline = "${pkgs.jdk}/bin/java @user_jvm_args.txt @libraries/net/minecraftforge/forge/1.19.2-43.3.8/unix_args.txt";
@ -54,6 +59,7 @@ in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
requires = [ "${prefix}${name}.socket" ]; requires = [ "${prefix}${name}.socket" ];
after = [ "network.target" "${prefix}${name}.socket" ]; after = [ "network.target" "${prefix}${name}.socket" ];
path = [ pkgs.bash ];
serviceConfig = { serviceConfig = {
ExecStart = cmdline; ExecStart = cmdline;