From 4dab34c2045b7bcc735227867126f0796cbb09c1 Mon Sep 17 00:00:00 2001 From: Brandon Philips Date: Wed, 29 Jan 2014 17:41:21 -0800 Subject: [PATCH] contrib: systemd: make socket-activation Restart=always Do as was done to f09a78cd219b24d4308034c8dd13410cfe5fbec7 in the socket-activation example. Docker-DCO-1.1-Signed-off-by: Brandon Philips (github: philips) --- contrib/init/systemd/socket-activation/docker.service | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/init/systemd/socket-activation/docker.service b/contrib/init/systemd/socket-activation/docker.service index 4ab92dfef8f27..c795f9c3b4819 100644 --- a/contrib/init/systemd/socket-activation/docker.service +++ b/contrib/init/systemd/socket-activation/docker.service @@ -5,6 +5,7 @@ After=network.target [Service] ExecStart=/usr/bin/docker -d -H fd:// +Restart=on-failure [Install] WantedBy=multi-user.target