diff --git a/components/packaging/deb/Makefile b/components/packaging/deb/Makefile index cf3a8bb705..8cfbbcd2bd 100644 --- a/components/packaging/deb/Makefile +++ b/components/packaging/deb/Makefile @@ -11,7 +11,7 @@ GO_IMAGE=$(GO_BASE_IMAGE):$(GO_VERSION) SUFFIX=ce DEB_VERSION?=$(shell SUFFIX=$(SUFFIX) ./gen-deb-ver $(CLI_DIR) "$(VERSION)") CHOWN:=docker run --rm -v $(CURDIR):/v -w /v alpine chown -EPOCH?=2 +EPOCH?=3 COMMON_FILES=common BUILD?=docker build \ diff --git a/components/packaging/systemd/docker.service b/components/packaging/systemd/docker.service index 7d7c2624b2..23557a0089 100644 --- a/components/packaging/systemd/docker.service +++ b/components/packaging/systemd/docker.service @@ -9,6 +9,7 @@ Wants=network-online.target # Install containerd-shim-process if it's not already installed ExecStartPre=/usr/libexec/containerd-offline-installer /var/lib/containerd-offline-installer/containerd-shim-process.tar docker.io/docker/containerd-shim-process ExecStart=/usr/bin/dockerd +ExecStopPost=/usr/bin/dockerd post-stop TimeoutSec=0 RestartSec=2 Restart=always