Howto start LXD after HOST mount nfs via wireguard?

When I reboot LXD host containers do not start because attached disks are host directories nfs shares mounted via wireguard on host.
I wonder howto modify lxd to start after HOST nfs via wireguard is setup
Modify systemd lxd service snap? what conditions?
Delay LXD start?

regards

You can make the LXD snap to start after the NFS/wireguard systemd unit(s).

For example, see https://opensource.com/article/20/5/manage-startup-systemd

Thx
Well after some reading I added
RequiresMountsFor=
to snap.lxd.daemon.service

regards

1 Like