summaryrefslogtreecommitdiffstats
path: root/meta-agl-lxc/recipes-container/lxc/files/lxc-net.service
blob: 1b6e8451fb39f0e159a6ad896cb1dc958666f68c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[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