Skip to content

Upgrade

To upgrade strfry navigate to the strfry repository, e.g.,

cd $HOME/nostr/relays/strfry

Pull the changes:

git pull

Update the submodules:

make update-submodules

Now, run:

make -j4

Stop the current strfry service:

systemctl stop strfry.service

Install strfry:

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

Start the strfry service:

systemctl start strfry.service

Check the status of the service using:

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