From 1708ed11b48f8231cb17cbb8cf91d5ad0d6e37a2 Mon Sep 17 00:00:00 2001 From: Stefan Agner Date: Tue, 6 Oct 2020 12:17:39 +0200 Subject: [PATCH] Fix Docker socket path (#885) The Docker socket path is /run/docker.sock. Also only one path can be used per property. This fixes the supervisor service, which currently refuses to start due to missing Docker socket. --- .../usr/lib/systemd/system/hassos-supervisor.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service index 3d91bae94..9d7be631c 100644 --- a/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service +++ b/buildroot-external/rootfs-overlay/usr/lib/systemd/system/hassos-supervisor.service @@ -6,7 +6,8 @@ After=docker.service rauc.service dbus.service network-online.target RequiresMountsFor=/mnt/data /mnt/boot /mnt/overlay StartLimitIntervalSec=60 StartLimitBurst=5 -ConditionPathExists=/run/dbus/system_bus_socket /run/docker.socket +ConditionPathExists=/run/dbus/system_bus_socket +ConditionPathExists=/run/docker.sock [Service] Type=simple