# Node Configuration

# Configure the service

To allow your nibiru node to run in the background as a service you need to execute the following command.

tee /etc/systemd/system/nibirud.service > /dev/null <<EOF
[Unit]
Description=Nibiru Full Node
After=network-online.target
[Service]
User=root
ExecStart=/root/go/bin/nibirud start
Restart=always
RestartSec=3
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF
1
2
3
4
5
6
7
8
9
10
11
12
13

WARNING

If you are logged as a user which is not root, make sure to edit the User value accordingly

Once you have successfully created the service, you need to enable it. After this, you can run Nibiru node.

systemctl daemon-reload
systemctl enable nibirud
systemctl start nibirud
1
2
3

# Service operations

systemctl status nibirud
1

# Check the node status

journalctl -f -u nibirud
1

Tips

If you find the message: No journal files were found., then you need to restart journalctl with the command systemctl restart systemd-journald