summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2022-07-18 09:50:43 +0300
committerJoonas Niilola <juippis@gentoo.org>2022-07-18 10:01:04 +0300
commit0d0aea3ac1915b42f6769703891e6fe50e840a50 (patch)
tree9eca1b1578113677fdb598c52d0e2a76f8f647e2 /app-containers/lxc/files/lxc-net.service.5.0.0
parentdev-tcltk/snack: fix type mismatch (diff)
downloadgentoo-0d0aea3ac1915b42f6769703891e6fe50e840a50.tar.gz
gentoo-0d0aea3ac1915b42f6769703891e6fe50e840a50.tar.bz2
gentoo-0d0aea3ac1915b42f6769703891e6fe50e840a50.zip
app-containers/lxc: add 5.0.0
- build system switched to meson, so dropping all keywords off, - some changes to handling systemd in general - there's a chance gentoo-lxc on systemd breaks due to this (did my best to test it but...) Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-containers/lxc/files/lxc-net.service.5.0.0')
-rw-r--r--app-containers/lxc/files/lxc-net.service.5.0.015
1 files changed, 15 insertions, 0 deletions
diff --git a/app-containers/lxc/files/lxc-net.service.5.0.0 b/app-containers/lxc/files/lxc-net.service.5.0.0
new file mode 100644
index 000000000000..8a037fcb7614
--- /dev/null
+++ b/app-containers/lxc/files/lxc-net.service.5.0.0
@@ -0,0 +1,15 @@
+[Unit]
+Description=LXC network bridge setup
+After=network-online.target
+Before=lxc.service
+Documentation=man:lxc
+ConditionVirtualization=!lxc
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/libexec/lxc/lxc-net start
+ExecStop=/usr/libexec/lxc/lxc-net stop
+
+[Install]
+WantedBy=multi-user.target