mirror of
https://github.com/hubHarmony/servii-backend.git
synced 2024-11-17 21:40:31 +00:00
[-] Modified server launching command according to new server architecture migration
This commit is contained in:
parent
7d3a8f8234
commit
b238604493
@ -35,7 +35,7 @@ class MinecraftServerManager:
|
||||
" -XX:MaxTenuringThreshold=1 -Daikars.new.flags=true"
|
||||
" -Dusing.aikars.flags=https://mcutils.com")
|
||||
|
||||
java: str = f"/usr/lib/jvm/java-{get_sdk_version(version)}-openjdk/bin/java"
|
||||
java: str = f"/usr/lib/jvm/java-{get_sdk_version(version)}-openjdk-amd64/bin/java"
|
||||
|
||||
command = f"{java} -Xmx{memory_size} {reg_flags} -jar {jar_file} --nogui"
|
||||
process = subprocess.Popen(shlex.split(command), cwd=server_directory, stdin=subprocess.PIPE)
|
||||
|
Loading…
Reference in New Issue
Block a user