mirror of
https://github.com/timvisee/lazymc.git
synced 2025-05-18 20:30:23 -07:00
Don't disable process freeze in config on Windows, simply ignore setting
This commit is contained in:
parent
bc7bd908f6
commit
4b1857f48d
@ -34,7 +34,7 @@ directory = "."
|
||||
command = "java -Xmx1G -Xms1G -jar server.jar --nogui"
|
||||
|
||||
# Freeze the server process instead of restarting it when no players online, making it resume faster.
|
||||
# Only works on Unix (Linux or MacOS)
|
||||
# Only works on Unix (Linux or MacOS), ignored on Windows
|
||||
#freeze_process = true
|
||||
|
||||
# Immediately wake server when starting lazymc.
|
||||
|
@ -57,13 +57,6 @@ pub fn load(matches: &ArgMatches) -> Config {
|
||||
}
|
||||
};
|
||||
|
||||
// TODO better way to do this
|
||||
#[cfg(windows)]
|
||||
{
|
||||
// Don't try to use unix APIs on windows
|
||||
config.server.freeze_process = false;
|
||||
}
|
||||
|
||||
config
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user