Releases: jacobobryant/biff
Releases · jacobobryant/biff
v0.4.1-beta
Fixed a bug in setup.sh
that made it so ./task deploy
wouldn't take effect until you run ./task restart
manually. If you've already set up a server with Biff's setup.sh
script, ssh into your server as root and run the following commands to apply the fix:
chmod 640 /etc/sudoers.d/restart-app
cat > /etc/sudoers.d/restart-app << EOD
app ALL= NOPASSWD: /bin/systemctl reset-failed app.service
app ALL= NOPASSWD: /bin/systemctl restart app
EOD
chmod 440 /etc/sudoers.d/restart-app
You should also apply the change manually to your setup.sh file. No need to upgrade the Biff version in deps.edn.
(Oh by the way, we also had a major release for Biff last week. It's another full rewrite almost. See https://biffweb.com/p/new-release/ if you haven't already.)