Thank you, you are right.
Although I'm sure I had the -O flag there at some point, but obviously not in the version of the script I pasted here.
One small caution on your manual update script: wget usually doesn't overwrite files by default.
If pyramid-exe already exists in that folder, wget will often save the new one as pyramid-exe.1 to be safe. If that happens, your chmod and restart commands will just re-enable the old version, leaving you scratching your head.
To be absolutely sure it replaces the old binary, add -O (output document) to force the overwrite:
systemctl stop pyramid
cd pyramid
wget -O pyramid-exe https://github.com/fiatjaf/pyramid/releases/download/v1.0.5/pyramid-exe
chmod +x pyramid-exe
systemctl restart pyramid
But then I forgot to
sudo systemctl stop pyramid
Much to Gemini's amusement.
Thank you, you are right.
Although I'm sure I had the -O flag there at some point, but obviously not in the version of the script I pasted here.
You're welcome, I wouldn't have noticed myself, but with Gemini shepherding me through the setup after basic VPS provisioning to success, it was something worth reporting.
Seems to me there's a lot more servers naive users can set up with the aide, addressing some of those decentralisation concerns.