Skip to content

Upgrade

To upgrade strfry29 navigate to the strfry29 directory in the relay29 repository, e.g.,

cd $HOME/nostr/relays/relay29/strfry29

Pull the changes:

git pull

Build strfry29:

go build

Stop the current strfry29 service:

systemctl stop strfry29.service

Install strfry29:

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

Start the strfry29 service:

systemctl start strfry29.service

Check the status of the service using:

systemctl status strfry29.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/strfry29.service; enabled; preset: enabled)