Add post-stop
Signed-off-by: Michael Crosby <crosbymichael@gmail.com> (cherry picked from commit 5f4b9c0eab3978e491ff249aacffb2338bf2408a) Signed-off-by: Andrew Hsu <andrewhsu@docker.com> Upstream-commit: 89d78463660094d24878c9060d7ef45dddc7546b Component: packaging
This commit is contained in:
committed by
Andrew Hsu
parent
95ea0f1d1a
commit
cc5399a50d
@ -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
|
||||
|
||||
Reference in New Issue
Block a user