Upgrading Netbox
On local system
git pull upstream <tag> --rebase
git rebase
git commit -a -m 'upgrade to <tag>'
On server
su -s /bin/ksh -l _netbox
doas rcctl stop netbox_rq
doas rcctl stop netbox
git pull
bash upgrade.sh
doas rcctl start netbox
doas rcctl start netbox_rq