2020-01-31 12:21:30 +00:00
|
|
|
[Unit]
|
|
|
|
Description=LXD Container Hypervisor
|
|
|
|
After=network-online.target lxcfs.service
|
|
|
|
Requires=network-online.target lxcfs.service lxd.socket
|
|
|
|
Documentation=man:lxd(1)
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment=LXD_OVMF_PATH=/usr/share/ovmf/x64
|
|
|
|
ExecStart=/usr/bin/lxd --group=lxd --logfile=/var/log/lxd/lxd.log
|
|
|
|
ExecStartPost=/usr/bin/lxd waitready --timeout=600
|
2020-02-14 19:35:35 +00:00
|
|
|
ExecStop=/usr/bin/lxd shutdown
|
2020-01-31 12:21:30 +00:00
|
|
|
TimeoutStartSec=600s
|
|
|
|
TimeoutStopSec=30s
|
|
|
|
Restart=on-failure
|
|
|
|
LimitNOFILE=1048576
|
|
|
|
LimitNPROC=infinity
|
|
|
|
LimitCORE=infinity
|
|
|
|
TasksMax=infinity
|
|
|
|
Delegate=yes
|
|
|
|
KillMode=process
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|