feat(server): complete phase 6 local verification

This commit is contained in:
Josh Creek
2026-08-21 18:38:30 +01:00
parent ec896b27ac
commit f2b72394de
21 changed files with 604 additions and 4 deletions
+6
View File
@@ -0,0 +1,6 @@
#!/usr/bin/env sh
# Native and container launcher for the dedicated export. Its server boot scene
# is baked into the dedicated artifact during the Docker export stage.
set -eu
exec "$(dirname "$0")/CosmicClashServer.x86_64" --headless -- "$@"
+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=Cosmic Clash dedicated server
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=cosmicclash
WorkingDirectory=/opt/cosmic-clash
ExecStart=/opt/cosmic-clash/cosmic-clash-server --config=/etc/cosmic-clash/server.cfg
Restart=on-failure
RestartSec=5
NoNewPrivileges=true
PrivateTmp=true
[Install]
WantedBy=multi-user.target