From 4b73048ace3f3df767ead4517cfe5a73352cb142 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 23 Nov 2021 14:00:17 +0100 Subject: app-emulation/lxd: try to update lxd --- app-emulation/lxd/files/lxd-containers-4.0.0.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 app-emulation/lxd/files/lxd-containers-4.0.0.service (limited to 'app-emulation/lxd/files/lxd-containers-4.0.0.service') diff --git a/app-emulation/lxd/files/lxd-containers-4.0.0.service b/app-emulation/lxd/files/lxd-containers-4.0.0.service new file mode 100644 index 0000000..894760c --- /dev/null +++ b/app-emulation/lxd/files/lxd-containers-4.0.0.service @@ -0,0 +1,16 @@ +[Unit] +Description=LXD - container startup/shutdown +Documentation=man:lxd(1) +After=lxd.socket lxd.service +Requires=lxd.socket + +[Service] +Type=oneshot +ExecStart=/usr/sbin/lxd activateifneeded +ExecStop=/usr/sbin/lxd shutdown +TimeoutStartSec=600s +TimeoutStopSec=600s +RemainAfterExit=yes + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3