summaryrefslogtreecommitdiff
path: root/app-emulation/lxd/files/lxd-4.0.7-r1.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-4.0.7-r1.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-4.0.7-r1.service')
-rw-r--r--app-emulation/lxd/files/lxd-4.0.7-r1.service20
1 files changed, 20 insertions, 0 deletions
diff --git a/app-emulation/lxd/files/lxd-4.0.7-r1.service b/app-emulation/lxd/files/lxd-4.0.7-r1.service
new file mode 100644
index 0000000..f1e644b
--- /dev/null
+++ b/app-emulation/lxd/files/lxd-4.0.7-r1.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=LXD - main daemon
+After=network-online.target lxcfs.service lxd.socket
+Requires=network-online.target lxcfs.service lxd.socket
+Documentation=man:lxd(1)
+
+[Service]
+EnvironmentFile=-/etc/environment
+ExecStart=/usr/sbin/lxd --group lxd --syslog
+ExecStartPost=/usr/sbin/lxd waitready --timeout=600
+KillMode=process
+TimeoutStartSec=600s
+TimeoutStopSec=30s
+Restart=on-failure
+LimitNOFILE=1048576
+LimitNPROC=infinity
+TasksMax=infinity
+
+[Install]
+Also=lxd-containers.service lxd.socket