File incus.service of Package incus
[Unit] Description=Incus Container Hypervisor After=network-online.target lxcfs.service incus.socket Requires=network-online.target lxcfs.service incus.socket Documentation=man:incus(1) [Service] Environment=INCUS_OVMF_PATH=/usr/share/incus/ovmf INCUS_UI=/opt/incus-ui ExecStart=/usr/bin/incusd --group=incus --logfile=/var/log/incus/incus.log ExecStartPost=/usr/bin/incusd waitready --timeout=600 ExecStop=/usr/bin/incusd shutdown --timeout=600 TimeoutStartSec=600s TimeoutStopSec=30s Restart=on-failure # Havingdd 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 Incus cgroups. Delegate=yes # Kill only the LXD process, not all processes in the cgroup. KillMode=process [Install] WantedBy=multi-user.target Also=incus.socket