* Bump buildroot * buildroot 99b62b8bd3...97287bbebf (3): > package/dbus-broker: bump to release 32 > package/dbus-broker: new package > Merge pull request #3 from home-assistant/2022.02.x-haos-cgroup-v2 * Use dbus-broker as default D-Bus broker The dbus-broker (Linux D-Bus Message Broker) aims to be a high performance and reliable D-Bus broker which can be used as a drop in replacement to the reference implementation D-Bus broker. In tests it showed significantly better performance especially when routing BLE messages. * Allow dbus-broker to start early For HAOS device wipe feature we need haos-agent.service and udisk2.service early. Both require a working D-Bus broker. The options PrivateTmp and PrivateDevices add additional After= orderings which doesn't allow dbus-broker to be started early. * Fix D-Bus dependency D-Bus services should just depend on dbus.socket.
22 lines
738 B
Desktop File
22 lines
738 B
Desktop File
[Unit]
|
|
Description=HassOS supervisor
|
|
Requires=docker.service rauc.service dbus.socket
|
|
Wants=network-online.target hassos-apparmor.service time-sync.target systemd-journal-gatewayd.socket
|
|
After=docker.service rauc.service dbus.socket network-online.target hassos-apparmor.service time-sync.target systemd-journal-gatewayd.socket
|
|
RequiresMountsFor=/mnt/data /mnt/boot /mnt/overlay
|
|
StartLimitIntervalSec=30m
|
|
StartLimitBurst=3
|
|
ConditionPathExists=/run/dbus/system_bus_socket
|
|
ConditionPathExists=/run/docker.sock
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=5s
|
|
ExecStartPre=-/usr/bin/docker stop hassio_supervisor
|
|
ExecStart=/usr/sbin/hassos-supervisor
|
|
ExecStop=-/usr/bin/docker stop hassio_supervisor
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|