[Unit]
Description=LXD - container startup/shutdown
Documentation=man:lxd(1)
After=lxd.socket lxd.service
Requires=lxd.socket

[Service]
Type=oneshot
ExecStart=/usr/bin/lxd activateifneeded
ExecStop=/usr/lib/lxd/shutdown
TimeoutStartSec=30s
TimeoutStopSec=90s
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target
