[Unit]
Description=LXC network bridge setup
After=network-online.target systemd-resolved.service
Before=lxc.service
Documentation=man:lxc
ConditionVirtualization=!lxc

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=@LIBEXECDIR@/lxc/lxc-net start
ExecStop=@LIBEXECDIR@/lxc/lxc-net stop

[Install]
WantedBy=multi-user.target