Skip to content

Commit

Permalink
Fix a typo in the systemd/upstart scripts for cri-dockerd.sock
Browse files Browse the repository at this point in the history
Replace cri-docker.sock with cri-dockerd.sock
  • Loading branch information
Ryan Barry committed Jan 5, 2022
1 parent eb0c48e commit 50c048c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions packaging/deb/common/cri-docker.docker.upstart
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ script
exec "$CRI_DOCKERD" --container-runtime-endpoint fd:// --networkplugin=""
end script

# Don't emit "started" event until cri-docker.sock is ready.
# Don't emit "started" event until cri-dockerd.sock is ready.
post-start script
CRI_DOCKER_SOCKET=/var/run/cri-docker.sock
CRI_DOCKER_SOCKET=/var/run/cri-dockerd.sock

if [ -n "$CRI_DOCKER_SOCKET" ]; then
while ! [ -e "$CRI_DOCKER_SOCKET" ]; do
Expand Down
2 changes: 1 addition & 1 deletion packaging/systemd/cri-docker.socket
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=CRI Docker Socket for the API
PartOf=cri-docker.service

[Socket]
ListenStream=%t/cri-docker.sock
ListenStream=%t/cri-dockerd.sock
SocketMode=0660
SocketUser=root
SocketGroup=docker
Expand Down

0 comments on commit 50c048c

Please sign in to comment.