Size: ~ 60kB

systemd

/lib/systemd/system/rauc-hawkbit-updater.service

/etc/systemd/system/multi-user.target.wants/rauc-hawkbit-updater.service

[Unit]
Description=HawkBit client for Rauc
After=network.target
After=rauc.service
 
[Service]
ExecStart=/usr/bin/rauc-hawkbit-updater -s -c /config/os/hawkbit/config.cfg
TimeoutSec=60s
WatchdogSec=5m
Restart=on-failure
RestartSec=1m
NotifyAccess=main
ProtectSystem=full
Nice=10
 
[Install]
WantedBy=multi-user.target

Config

BHTronik: /config/os/hawkbit/config.cfg

Example:

[client]
hawkbit_server = hawkbit.url.esec-experts.com
ssl = True
tenant_id = DEFAULT
target_name = 0x4790700-------------7048120000
auth_token = d0c33cdf97-------------ba658aae
mac_address = 00:00:00:00:00:00
bundle_download_location = /data/os/rauc/hawkbit.raucb
log_level = True

Origin Source

GitHub - rauc/rauc-hawkbit-updater

RAUC hawkBit Updater’s documentation!

OSB connagtive Fork

https://github.com/osb-cc-esec/rauc-hawkbit-updater

License

LGPLv2.1 https://www.gnu.de/documents/lgpl-2.1.de.html