45 lines
1.1 KiB
TOML
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"
|