Loading...
sudo access and an internet connection on the target machine.curl: sudo apt update
sudo apt upgrade
sudo apt install curl sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
sudo apt update
sudo apt install -y postgresql-17 sudo systemctl disable postgresql
sudo systemctl stop postgresql sudo apt install -y valkey-server avahi-daemon libnss-mdns libudev1 sudo systemctl disable valkey-server
sudo systemctl stop valkey-server sudo addgroup buttons
sudo adduser $USER buttons
sudo cp 50-bitfocus-buttons.rules /etc/udev/rules.d/
sudo udevadm control --reload-rules./watchdog-cli 127.0.0.1 4440http://127.0.0.1:4440 (https://127.0.0.1:4443) from the local machine only. Use 0.0.0.0 instead of 127.0.0.1 to make it reachable from other machines on the network. If Buttons is already running, stop it first; starting a second instance conflicts with the one already using these ports and this configuration.$HOME/.config/bitfocus-buttons for whichever user ran the command: include that directory in your backup plan alongside the in-app backups described in Create your first backup.bitfocus-buttons.service) that expects a buttons user to exist and belong to a buttons group, running from /opt/bitfocus-buttons. None of that exists yet after the steps above: set it up:sudo useradd --system --create-home --shell /usr/sbin/nologin --gid buttons buttons
sudo mkdir -p /opt/bitfocus-buttons
sudo cp -r . /opt/bitfocus-buttons/
sudo chown -R buttons:buttons /opt/bitfocus-buttons
sudo cp /opt/bitfocus-buttons/bitfocus-buttons.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable --now bitfocus-buttons0.0.0.0:4440; edit /etc/systemd/system/bitfocus-buttons.service before enabling it if you need different arguments.sudo systemctl status bitfocus-buttons
journalctl -u bitfocus-buttons -fbuttons system user, its configuration and data live under that user's home directory rather than yours: keep that in mind when locating logs or planning backups for a service install.watchdog-cli supports.Was this helpful?
0 of 0 users found this page helpful