Merge pull request #171 from andrewhsu/ps

[18.09] Add post-stop
Upstream-commit: 66ad326a35cba7a1d8dd1be2b445e3bdff40d576
Component: packaging
This commit is contained in:
Andrew Hsu
2018-08-28 17:41:35 -07:00
committed by GitHub

View File

@ -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