[Unit] Description=Godot headless connectivity check Wants=network-online.target After=network-online.target [Service] User=godotgame WorkingDirectory=/opt/godot-game ExecStart=/opt/godot/godot --headless --path /opt/godot-game -- --server --port=7000 Restart=on-failure RestartSec=5 NoNewPrivileges=true PrivateTmp=true ProtectHome=true ProtectSystem=strict StateDirectory=godotgame Environment=XDG_DATA_HOME=/var/lib/godotgame [Install] WantedBy=multi-user.target