SHA256
1
0
forked from pool/lxd
lxd/lxd.service
Aleksa Sarai 6c45e6504b Accepting request 877272 from home:cyphar:lxc
- Update to LXD 4.12. The full upstream changelog is available from:
  https://discuss.linuxcontainers.org/t/lxd-4-12-has-been-released/10424
  boo#1183111

  + Initial Network ACLs support (OVN-only)
  + Project restricted certificates
  + Server configuration options now supported at the project level
  + Configuration option for Ceph features
  * Projects now supported by lxd init --dump and --preseed
  * Initial auto-generated REST-API documentation

  + VM: Stateful stop and stateful snapshots for virtual machines

OBS-URL: https://build.opensuse.org/request/show/877272
OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=77
2021-03-06 00:12:59 +00:00

32 lines
851 B
Desktop File

[Unit]
Description=LXD Container Hypervisor
After=network-online.target lxcfs.service
Requires=network-online.target lxcfs.service
Documentation=man:lxd(1)
[Service]
Environment=LXD_OVMF_PATH=/opt/lxd/ovmf
ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
ExecStartPost=/usr/bin/lxd waitready --timeout=600
TimeoutStartSec=600s
TimeoutStopSec=30s
Restart=on-failure
# Having non-zero Limit*s causes performance problems due to accounting overhead
# in the kernel. We recommend using cgroups to do container-local accounting.
LimitNOFILE=1048576
LimitNPROC=infinity
LimitCORE=infinity
# No need to add a task limit.
TasksMax=infinity
# Set delegate yes so that systemd does not mess with LXD cgroups.
Delegate=yes
# Kill only the LXD process, not all processes in the cgroup.
KillMode=process
[Install]
WantedBy=multi-user.target