I have a self-hosted instance of Bitwarden running on a Debian10 server. What is the best option to keep this up to date? I have seen recommendations of using crontab or watchtower. If I use the crontab should I use the Bitwarden user crontab with the following entry to run weekly?
0 2 * * 0 /opt/bitwarden/bwdata/scripts/updatebw.sh >/dev/null 2>&1
updatebw.sh
#!/bin/bash
/opt/bitwarden/bitwarden.sh updateself
/opt/bitwarden/bitwarden.sh update
I will also be snapshotting the VM and running bwdata/ backups weekly just before the updates run.
Thanks!