System
Settings
Name, memory, data disk, apps and speed, plus presets, the setup wizard and the local screen.
The Settings page edits /etc/bistro/bistro.conf. Bistro applies the file at every boot and whenever you save.
#The Setup Wizard
On first run Settings opens a five-step wizard. Later it becomes the same form for changing setup.
| Step | What you set | Key |
|---|---|---|
| Name and time | Server name (reachable as name.local) and time zone | HOSTNAME, TIMEZONE |
| Memory | Compressed RAM as a percent of RAM, and a swap file in GB | ZRAM_PERCENT, DISK_SWAP_GB |
| Data disk | The disk mounted at /srv/data for apps, media and backups | DATA_UUID |
| Apps | Containers, virtual machines, Flatpak | APPS |
| Speed | Fast boot, keep the system responsive, set up new apps for me, power mode, machine size, SD card care | FAST_BOOT, APP_LIMITS, ZERO_CONFIG, POWER_MODE, PROFILE, SD_CARE |
#From the Command Line
bistro settings get # every value
bistro settings get HOSTNAME
bistro settings set ZRAM_PERCENT=75
bistro settings edit # open the file, check it, apply it
bistro settings apply
bistro disk format /dev/sdb # erase one disk, make a data partition, print the UUIDUnticking an app type does not remove its packages. See Maintenance for bistro apps prune-unticked.
#Machine Size
PROFILE is auto, tiny, small or standard. Auto picks tiny under 700 MB of RAM, small under 2.5 GB or with one core, and standard otherwise. The profile sets the zram size, how soon the low-memory killer acts, journal and /tmp size, and which idle services stay off.
SD_CARE is auto, on or off. It cuts writes on SD cards and eMMC. Auto turns it on when the system disk is one of those. See Self-management for the details.
#Other Settings on the Page
The page also holds these groups.
| Group | What it holds |
|---|---|
| Appearance | Theme, language (English, Spanish, German, French), small menu |
| Autopilot and alerts | Only Record, Ask Me or Fix by Itself, the daily limit, pause, and alert channels |
| Storage | Days a deleted file stays in the trash (TRASH_DAYS) |
| Energy | Price per kWh, currency, CPU watts for estimates |
| Settings file | Export, import and undo the import |
bistro ui lang set de # dashboard language: en, es, de, fr
bistro ui layout get # Overview card order
bistro settings export # one .tar.gz of all settings
bistro settings import FILE # saves your current settings first
bistro settings undo-importThe export holds tokens and API keys. Only root can read it. Language and card order follow you to any browser.
#Presets
A preset sets apps, backups, firewall rules, alerts and a few settings in one step. Overview offers them on a new server. The five presets are Media Server, AI Box, Dev Server, Family Cloud and Web Host.
bistro preset list
bistro preset show media
bistro preset apply media --dry-run # print the plan, change nothing
bistro preset apply media
bistro preset history
bistro preset undoA second apply is safe, because a step that is already true is skipped. The firewall stays on or off as it is, and --enable-firewall turns it on. Undo removes backup jobs, firewall rules, setting values and the apps that apply installed. Their data stays.
#Edit Config Files Safely
Bistro checks a file before it saves it, keeps the last 20 versions and shows a diff. Only a short list of files is allowed, such as the Caddyfile, sshd_config, nftables.conf, systemd units and bistro.conf.
bistro conf list
bistro conf diff /etc/caddy/Caddyfile
bistro conf history /etc/caddy/Caddyfile
bistro conf restore /etc/caddy/Caddyfile 2Saving does not restart anything. Restart the service yourself after a good save.
#Built-In Services
On the Apps page, the Built-in list shows services that ship with Bistro, each with a switch. Switching on installs the service if needed. Switching off keeps the package. Cockpit and SSH show as always on, so you cannot lock yourself out.
bistro builtin
bistro builtin on samba
bistro builtin off samba#Move to New Hardware
Portable packs settings, secrets, apps with their data, schedules and the cluster key into one file. Add --passphrase-stdin to encrypt it. User accounts and /home are not moved.
bistro portable plan
bistro portable pack move.bistro --passphrase-stdin
bistro portable check move.bistro
bistro portable restore move.bistro # on the new machine
bistro portable pull user@oldhost # copy a running machine over SSH
bistro portable verify --strict # compare the new machine with the old one
bistro portable usb pack /mnt/usbbistro portable undo puts back the settings from before the last restore.
#Local Dashboard on a Monitor
A machine with a screen can show the dashboard full screen, with no desktop and no mouse. It runs Chromium inside cage as the bistro-kiosk user, pointed at https://localhost:2045/bistro. Sign in with a system user.
bistro gui status
bistro gui on # installs cage and Chromium if missing, takes over the first console
bistro gui off # gives the console back; the parts stay installedHeadless machines never need this.