fix(app-emulation/docker): restart on crash

docker has been known to crash from time to time in odd situations. Auto
restart docker 1 second after an unexpected exit so that people can go
about their business.

Thanks to dsal & fkautz in #coreos
This commit is contained in:
Brandon Philips 2013-08-16 15:35:02 -07:00
parent 34d5789cef
commit 37e06a2c65

View File

@ -11,5 +11,8 @@ ExecStartPre=/sbin/sysctl -w net.ipv4.ip_forward=1
ExecStart=/usr/bin/docker -d -D ExecStart=/usr/bin/docker -d -D
Restart=always
RestartSec=1
[Install] [Install]
WantedBy=multi-user.target WantedBy=multi-user.target