💿Running as a Service

Installlin Manually v.1.4.19

If you've already installed and started your Quilibrium Ceremony Client node, you can convert it to a service for easier management. This simplifies tasks like starting, stopping, and monitoring your node.

Get the node binary files and checkout release branch;

cd ~
git clone https://github.com/QuilibriumNetwork/ceremonyclient.git
git pull
git checkout release

Then we will create service;

nano /lib/systemd/system/ceremonyclient.service

Write the code below;

[Unit]
Description=Ceremony Client Go App Service

[Service]
Type=simple
Restart=always
RestartSec=5s
WorkingDirectory=/root/ceremonyclient/node
Environment=GOEXPERIMENT=arenas
ExecStart=/root/ceremonyclient/node/release_autorun.sh

[Install]
WantedBy=multi-user.target

Save and exit

Then start the Node

service ceremonyclient start

This will start your Q Node. While at this stage script will create the .config folder inside ~/ceremonyclient/node - with your config.yml and keys.yml .

Please do your backup config.yml and keys.ymlfiles within ~/ceremonyclient/node/.config folder.

Node Commands

To start service, run

service ceremonyclient start

To stop service, run

service ceremonyclient stop

To restar service, run

service ceremonyclient restart

To view service logs run

sudo journalctl -u ceremonyclient.service -f --no-hostname -o cat

(peer id, version, max frame and balance):

Please note that, you must properly configure your node to run all these commands. For details, visit Configuration section.

See Peer ID:

cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 -peer-id

See Node Info:

cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 -node-info

Run the DB console:

cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 -db-console

Check Balances:

cd ~/ceremonyclient/node && ./node-1.4.20.1-linux-amd64 -balance

Last updated