container-linux: restart rkt-api on failure

This works around a flake I saw which had the same root cause as
https://github.com/coreos/rkt/issues/3513.

This will potentially help reduce the impact of such future problems as
well.
This commit is contained in:
Euan Kemp 2017-01-11 00:25:14 -08:00
parent 14e322cc82
commit eeef293ee2

View File

@ -1191,6 +1191,7 @@ After=network.target
[Service]
ExecStart=${RKT_BIN} api-service --listen=127.0.0.1:15441
Restart=on-failure
[Install]
WantedBy=multi-user.target