The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/distrobuilder/pull/312
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 84b7e319add95e32123fc46b032eb8004c6312a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Thu, 26 Mar 2020 22:04:38 -0400 Subject: [PATCH] lxd-agent: Restart on failure MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- generators/lxd-agent.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/generators/lxd-agent.go b/generators/lxd-agent.go index a7c5a87..9a319e4 100644 --- a/generators/lxd-agent.go +++ b/generators/lxd-agent.go @@ -74,6 +74,10 @@ Before=cloud-init.target cloud-init.service cloud-init-local.service Type=simple WorkingDirectory=/run/lxd_config/9p ExecStart=/run/lxd_config/9p/lxd-agent +Restart=on-failure +RestartSec=5s +StartLimitInterval=60 +StartLimitBurst=10 [Install] WantedBy=multi-user.target
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel