canutethegreat-overlay/app-emulation/lxd/files/lxd-4.0.0_apparmor.service

22 lines
567 B
SYSTEMD
Raw Normal View History

2021-08-12 10:47:09 -07:00
[Unit]
Description=LXD - main daemon
After=network-online.target lxcfs.service lxd.socket
Requires=network-online.target lxcfs.service lxd.socket
Documentation=man:lxd(1)
[Service]
EnvironmentFile=-/etc/environment
ExecStartPre=/usr/libexec/lxc/lxc-apparmor-load
ExecStart=/usr/sbin/lxd --group lxd --logfile=/var/log/lxd/lxd.log
ExecStartPost=/usr/sbin/lxd waitready --timeout=600
KillMode=process
TimeoutStartSec=600s
TimeoutStopSec=30s
Restart=on-failure
LimitNOFILE=1048576
LimitNPROC=infinity
TasksMax=infinity
[Install]
Also=lxd-containers.service lxd.socket