23 lines
545 B
SYSTEMD
23 lines
545 B
SYSTEMD
|
[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
|
||
|
TimeoutStartSec=600s
|
||
|
TimeoutStopSec=30s
|
||
|
Restart=on-failure
|
||
|
LimitNOFILE=1048576
|
||
|
LimitNPROC=infinity
|
||
|
LimitCORE=infinity
|
||
|
TasksMax=infinity
|
||
|
Delegate=yes
|
||
|
KillMode=process
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|