841ce19740
The export_presets.cfg excluded examples/shared/** from both Windows Desktop and Linux Server presets. The multiplayer-fps.tscn main scene depends on files in this directory (network-popup.tscn, async.gd, simple-time-display.gd) — without them the exported binary crashes on startup with 'Can't load dependency' errors. - Remove examples/shared/** from Windows Desktop exclude_filter - Remove examples/shared/** from Linux Server exclude_filter
18 lines
460 B
Desktop File
18 lines
460 B
Desktop File
[Unit]
|
|
Description=Tactical Shooter — dedicated game server
|
|
After=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
WorkingDirectory=/home/oplabs/tactical-shooter
|
|
ExecStart=/home/oplabs/.local/bin/godot --headless --scene res://scenes/headless_server.tscn -- --port 34197 --rcon-password changeme
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
Environment=SERVER_PORT=34197
|
|
Environment=RCON_PORT=28960
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|