1
0
mirror of https://github.com/docker/cli.git synced 2026-01-15 07:40:57 +03:00

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

Use 'default.target' in systemd unit file example
Upstream-commit: 96b0323cf00221e27155e7a005b53f0178b4cbae
Component: engine
This commit is contained in:
Sven Dowideit
2016-06-27 11:42:05 +10:00
committed by GitHub

View File

@@ -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