SEBRAUC/sebrauc.example.toml
Theta-Dev e2c3c2ce6b
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
Add README
stream: send last broadcast on connect
2022-02-21 20:14:31 +01:00

45 lines
1.1 KiB
TOML

# SEBRAUC config file example
# Temporary directory
# Update packages are stored temporarily under Tmpdir/update-<UUID>.raucb
Tmpdir = "/tmp/sebrauc"
# Webserver options
[Server]
# IP address to accept connections from
Address = ""
# Port to listen at
Port = 8080
# Websocket connection settings: Ping interval/Timeout in seconds
[Server.Websocket]
Ping = 45
Timeout = 15
# Compression settings. Refer to code.thetadev.de/TSGRain/ginzip for details.
[Server.Compression]
Gzip = "default"
Brotli = "default"
[Authentication]
Enable = true
PasswdFile = "htpasswd"
# Where to obtain system info from
[Sysinfo]
ReleaseFile = "/etc/os-release"
# Keys to look for in the OS release file
NameKey = "NAME"
VersionKey = "VERSION"
HostnameFile = "/etc/hostname"
UptimeFile = "/proc/uptime"
# Commands to be run by SEBRAUC
[Commands]
# RAUC status command (outputs updater status in json format)
RaucStatus = "rauc status --output-format=json"
# RAUC install command (installs FW image passed as argument)
RaucInstall = "rauc install"
# System reboot command
Reboot = "shutdown -r 0"