mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Some changes to get this working on CentOS 7
Old versions of things on CentOS 7 strike again! infinity is not a thing for TimeoutSec on systemd < 229 Signed-off-by: Eli Uriegas <eli.uriegas@docker.com>
This commit is contained in:
parent
e086064b2c
commit
cdb1e7033d
1 changed files with 1 additions and 3 deletions
|
@ -8,10 +8,8 @@ Wants=network-online.target containerd.service
|
|||
# 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
|
||||
TimeoutSec=infinity
|
||||
KillMode=process
|
||||
TimeoutSec=0
|
||||
Restart=always
|
||||
Delegate=yes
|
||||
# On RPM Based distributions PATH isn't defined so we define it here
|
||||
# /opt/containerd/bin is in front so dockerd grabs the correct runc binary
|
||||
Environment="PATH=/opt/containerd/bin:/sbin:/usr/bin:/usr/local/bin:$PATH"
|
||||
|
|
Loading…
Reference in a new issue