mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Merge pull request #23842 from tjanez/docs-systemd-default-target
Use 'default.target' in systemd unit file example
This commit is contained in:
commit
96b0323cf0
1 changed files with 1 additions and 1 deletions
|
@ -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
|
ExecStop=/usr/bin/docker stop -t 2 redis_server
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=local.target
|
WantedBy=default.target
|
||||||
|
|
||||||
If you need to pass options to the redis container (such as `--env`),
|
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
|
then you'll need to use `docker run` rather than `docker start`. This will
|
||||||
|
|
Loading…
Add table
Reference in a new issue