-
-
Notifications
You must be signed in to change notification settings - Fork 84
Developer Notes
Ian Clarke edited this page Jan 2, 2025
·
8 revisions
# Developer Notes: Freenet Gateway on Vega
## Gateway Status
The gateway is operational on Vega but has some issues when disconnecting and attempting to reconnect.
## Systemd Service
A `systemd` service has been configured to manage the gateway.
## Updating the Gateway
To update the gateway, follow these steps:
1. Navigate to the Freenet core directory:
```bash
cd /home/freenet/freenet/freenet-core
- Pull the latest changes or switch branches:
git pull
- Build the core crate in release mode:
cd crates/core && cargo build --release
- Restart the systemd service:
sudo systemctl restart freenet-gateway.service
To check the logs for the gateway service:
sudo journalctl -u freenet-gateway.service -f
To run locally and connect to the gateway from the main branch, use the following steps:
- Install the core crate:
cd crates/core && cargo install --path .
- Start the Freenet process with logging enabled:
RUST_LOG=info,freenet=debug,freenet-stdlib=debug freenet
Note: The process will attempt to connect to both gateways. Since one of the gateways is not up yet, you are likely to encounter some connection failures.