/lib/systemd/system/lxd-containers.service is in lxd 2.0.0-0ubuntu4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | [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
|