For the complete documentation index, see llms.txt. This page is also available as Markdown.

9.8 Running as a Background Service

To ensure continuous operation, run the node as a service.

Using systemd

Create service file:

sudo nano /etc/systemd/system/frecx-node.service

Add:

[Unit]
Description=FreCx Node
After=network.target

[Service]
ExecStart=/home/ubuntu/frecx-node/frecx-node --config /home/ubuntu/frecx-node/config.json
Restart=always
User=ubuntu

[Install]
WantedBy=multi-user.target

Enable and start:

sudo systemctl daemon-reexec
sudo systemctl daemon-reload
sudo systemctl enable frecx-node
sudo systemctl start frecx-node

Check status:

Last updated