From 1f1fac78d74cb557bbdd1da08ce6163b0b5ad9eb Mon Sep 17 00:00:00 2001 From: pvincent Date: Sun, 24 Mar 2024 21:35:31 +0400 Subject: [PATCH] lxd-containers-restart-on-failure.service --- lib/install.sh | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/lib/install.sh b/lib/install.sh index 256de76..e02d8f3 100755 --- a/lib/install.sh +++ b/lib/install.sh @@ -42,6 +42,29 @@ function prepare_lxd { fi sudo /opt/miaou-bash/tools/idem_apt_install lxd btrfs-progs + + sudo tee /etc/systemd/system/lxd-containers-restart-on-failure.service &>/dev/null <