Browse Source

Add multi-user.target to After=

Add multi-user.target to the After= list in docker.service so that multi-user.target does not wait for docker.service (and consequently wait for network-online.target).

Signed-off-by: Isaiah Grace <irgkenya4@gmail.com>
Isaiah Grace 5 năm trước cách đây
mục cha
commit
0ca7456e52

+ 1 - 1
contrib/init/systemd/docker.service

@@ -1,7 +1,7 @@
 [Unit]
 [Unit]
 Description=Docker Application Container Engine
 Description=Docker Application Container Engine
 Documentation=https://docs.docker.com
 Documentation=https://docs.docker.com
-After=network-online.target docker.socket firewalld.service
+After=network-online.target docker.socket firewalld.service multi-user.target
 Wants=network-online.target
 Wants=network-online.target
 Requires=docker.socket
 Requires=docker.socket