Skip to content

Upgrade

To upgrade Khatru29 navigate to the groups.fiatjaf.com directory in the relay29 repository, e.g.,

cd $HOME/nostr/relays/relay29/examples/groups.fiatjaf.com

Pull the changes:

git pull

Build the groups.fiatjaf.com example:

go build

Rename the groups.fiatjaf.com binary to khatru29:

mv groups.fiatjaf.com khatru29

Stop the current Khatru29 service:

systemctl stop khatru29.service

Install Khatru29:

install -v -m 0755 -o root -g root -t /usr/local/bin khatru29

Start the Khatru29 service:

systemctl start khatru29.service

Check the status of the service using:

systemctl status khatru29.service

If the service is running, you should see the following in the output:

Active: active (running)

If the service is enabled to automatically start on boot, you should see the following in the output:

Loaded: loaded (/etc/systemd/system/khatru29.service; enabled; preset: enabled)