Files
dauphincraft/deploy/dauphincraft.service
Poulpe (Silver Surfer deploy) 59a90f621c fix(deploy): use '--' separator so Godot passes --server to user args
Godot reads get_cmdline_user_args() which only contains args after '--'.
Without the separator, NetworkManager never saw --server and the
ENetMultiplayerPeer never bound UDP 7777.

Verified on 192.168.0.89: udp/7777 now listening.
2026-04-20 12:42:00 +00:00

18 lines
405 B
Desktop File

[Unit]
Description=DauphinCraft Dedicated Server
After=network.target
[Service]
Type=simple
User=dauphin
Group=dauphin
WorkingDirectory=/opt/dauphincraft
ExecStart=/opt/dauphincraft/DauphinCraftServer.x86_64 --headless -- --server --port 7777
Restart=always
RestartSec=5
StandardOutput=append:/var/log/dauphincraft.log
StandardError=append:/var/log/dauphincraft.log
[Install]
WantedBy=multi-user.target