mirror of https://github.com/docker/docs.git
contrib: systemd: make socket-activation Restart=always
Do as was done to f09a78cd21
in the
socket-activation example.
Docker-DCO-1.1-Signed-off-by: Brandon Philips <brandon.philips@coreos.com> (github: philips)
This commit is contained in:
parent
de8480f656
commit
4dab34c204
|
@ -5,6 +5,7 @@ After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/docker -d -H fd://
|
ExecStart=/usr/bin/docker -d -H fd://
|
||||||
|
Restart=on-failure
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
|
Loading…
Reference in New Issue