Przeglądaj źródła

Merge pull request #23842 from tjanez/docs-systemd-default-target

Use 'default.target' in systemd unit file example
Sven Dowideit 9 lat temu
rodzic
commit
96b0323cf0
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      docs/admin/host_integration.md

+ 1 - 1
docs/admin/host_integration.md

@@ -74,7 +74,7 @@ a new service that will be started after the docker daemon service has started.
     ExecStop=/usr/bin/docker stop -t 2 redis_server
 
     [Install]
-    WantedBy=local.target
+    WantedBy=default.target
 
 If you need to pass options to the redis container (such as `--env`),
 then you'll need to use `docker run` rather than `docker start`. This will