d93a7dcf1e
- Make sqlite+dqlite both shared libs to avoid bloating RSS. In order to avoid issues with packaging new versions of libsqlite3 there are a bunch of DT_SONAME and DT_NEEDED hacks to ensure that rpm doesn't cause false-positive conflicts or other issues. This requires a new lxd-rpmlintrc to work on older SLE versions. OBS-URL: https://build.opensuse.org/request/show/691258 OBS-URL: https://build.opensuse.org/package/show/Virtualization:containers/lxd?expand=0&rev=5
31 lines
811 B
Desktop File
31 lines
811 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]
|
|
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
|