summaryrefslogtreecommitdiff
path: root/app-emulation/lxd/files/lxd-containers-4.0.0.service
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2021-11-23 14:00:17 +0100
committerKarel Kočí <cynerd@email.cz>2021-11-23 14:00:17 +0100
commit4b73048ace3f3df767ead4517cfe5a73352cb142 (patch)
tree4470ecea54d7f63edcdda2412d868d5c67267385 /app-emulation/lxd/files/lxd-containers-4.0.0.service
parent22d45e123d14ef32c545c008a54b29d6b6fe2440 (diff)
downloadgentoo-personal-overlay-4b73048ace3f3df767ead4517cfe5a73352cb142.tar.gz
gentoo-personal-overlay-4b73048ace3f3df767ead4517cfe5a73352cb142.tar.bz2
gentoo-personal-overlay-4b73048ace3f3df767ead4517cfe5a73352cb142.zip
app-emulation/lxd: try to update lxd
Diffstat (limited to 'app-emulation/lxd/files/lxd-containers-4.0.0.service')
-rw-r--r--app-emulation/lxd/files/lxd-containers-4.0.0.service16
1 files changed, 16 insertions, 0 deletions
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