From 0a8c46d5e5f9a8c66e6ab6ac5ce7f50143b9a8df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tadej=20Jane=C5=BE?= Date: Tue, 21 Jun 2016 16:45:29 +0200 Subject: [PATCH] Use 'default.target' in systemd unit file example MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Previously, 'local.target' was used which is not going to work out-of-the-box for lots of users. The 'default.target' is the default unit systemd starts at bootup and hence what most users would be expected to use. Signed-off-by: Tadej Janež --- docs/admin/host_integration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/admin/host_integration.md b/docs/admin/host_integration.md index 3f71592c46..fd47ea6ec8 100644 --- a/docs/admin/host_integration.md +++ b/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