mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-08-06 10:44:08 +00:00
feat: Replace calls to system function in server startups (#1691)
* replace linux calls * windows api * log child PIDs in parent process * fix typo for windows * functions now return the process ID * use wchar_t for windows APIs * Update Start.cpp Try to fix MacOS issues * Conditionally include unistd.h * remove sudo config option and add error message for linux * fix windows .exe extension * REALLY fix windows * try replacing c_str() with data() * really REALLY fix Windows * Update dNet/dServer.cpp Co-authored-by: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> * Update dServer.cpp
This commit is contained in:
@@ -7,15 +7,5 @@ master_server_port=2000
|
||||
# The port number to start world servers on. Will be incremented for each world
|
||||
world_port_start=3000
|
||||
|
||||
# Use sudo when launching the auth server.
|
||||
# Required by default if on Linux as auth runs on port 1001
|
||||
use_sudo_auth=1
|
||||
|
||||
# Use sudo when launching the chat server
|
||||
use_sudo_chat=0
|
||||
|
||||
# Use sudo when launching world servers
|
||||
use_sudo_world=0
|
||||
|
||||
# 0 or 1, should autostart auth, chat, and char servers
|
||||
prestart_servers=1
|
||||
|
Reference in New Issue
Block a user