Skip to content
BILLETKnowledge Base

Files and folders

Where each part of Billet keeps its program, settings, credentials and logs.

For
Administrators
Applies to
Billet 1.0
Updated

Desktop app

Windows Mac
Program %LOCALAPPDATA%\Programs\Billet /Applications/Billet.app
Settings and trust list %APPDATA%\billet ~/.config/billet
Session logs %LOCALAPPDATA%\billet\logs ~/.local/state/billet/logs

Windows host

Programs %ProgramFiles%\Billet (billet-host-agent.exe, billet-stats-agent.exe)
Data folder %ProgramData%\Billet
Machine credential %ProgramData%\Billet\agent-credential.json
Host certificate and key %ProgramData%\Billet\tls-portal
Logs %ProgramData%\Billet\logs
Machine settings file (optional) %ProgramData%\Billet\settings.toml
Services billet-host-agent (Billet host agent), billet-stats-agent (Billet stats agent)

The credential is the machine's identity. Keep it when reinstalling, so the machine stays the same desktop.

Linux Amazon DCV desktop

Program /usr/local/bin/billet-stats-agent
Data folder /etc/billet if it exists, otherwise /etc/beam (the portal's installer makes /etc/beam)
Machine credential agent-credential.json in the data folder
Service billet-agent (log: journalctl -u billet-agent)

Portal server

Program, pages and configuration /opt/billet/portal
Non-secret configuration /opt/billet/portal/config/production.yaml
Secrets /etc/billet/portal.env
Machine settings file (optional) /etc/billet/settings.toml
Certificate authority /var/lib/billet-portal/ca (ca.crt, and ca.key at mode 0600)
This node's install ID /var/lib/billet-portal/install-id
Agent for Linux DCV desktops /opt/billet/portal/downloads/billet-stats-agent
Service billet-portal

Relay server

Programs /opt/billet/billet-relay, /opt/billet/billet-stats-agent
Settings /etc/billet/relay.env
Relay credential /etc/billet/agent-credential.json
WebSocket certificate /etc/billet/relay-ws.crt, /etc/billet/relay-ws.key
Services billet-relay, billet-relay-agent

What to back up

  • Portal: the PostgreSQL database, /etc/billet, and /var/lib/billet-portal, together.
  • Relay: /etc/billet.
  • Hosts: nothing is required. A machine that loses its credential can be enrolled again as the same desktop. See Upgrade or remove a host.