diff --git a/builds/run_server.sh b/builds/run_server.sh index cb0835f..d2f1437 100644 --- a/builds/run_server.sh +++ b/builds/run_server.sh @@ -6,4 +6,4 @@ PORT="${1:-7777}" BINARY_DIR="$(dirname "$(readlink -f "$0")")" cd "$BINARY_DIR" -exec ./DauphinCraftServer.x86_64 --server --port "$PORT" --headless +exec ./DauphinCraftServer.x86_64 --headless -- --server --port "$PORT" diff --git a/deploy/dauphincraft.service b/deploy/dauphincraft.service index ced6581..e9c940b 100644 --- a/deploy/dauphincraft.service +++ b/deploy/dauphincraft.service @@ -7,7 +7,7 @@ Type=simple User=dauphin Group=dauphin WorkingDirectory=/opt/dauphincraft -ExecStart=/opt/dauphincraft/DauphinCraftServer.x86_64 --server --port 7777 --headless +ExecStart=/opt/dauphincraft/DauphinCraftServer.x86_64 --headless -- --server --port 7777 Restart=always RestartSec=5 StandardOutput=append:/var/log/dauphincraft.log