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-4.0.7-r1.service | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 app-emulation/lxd/files/lxd-4.0.7-r1.service (limited to 'app-emulation/lxd/files/lxd-4.0.7-r1.service') 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 -- cgit v1.2.3