Merge pull request #1080 from thypon/lxcfix

lxc: added runit support
This commit is contained in:
Juan RP 2015-03-09 10:29:51 +01:00
commit 9e9e33e52a
3 changed files with 7 additions and 2 deletions

View file

@ -0,0 +1,2 @@
#!/bin/sh
lxc-autostart -s -t 15 || exit 1

View file

@ -0,0 +1,3 @@
#!/bin/sh
lxc-autostart || exit 1
exec chpst -b lxc-autostart pause

View file

@ -3,7 +3,7 @@ _desc="Linux Containers"
pkgname=lxc
version=1.1.0
revision=4
revision=5
build_style=gnu-configure
configure_args="--enable-doc --enable-seccomp --enable-cgmanager
--enable-capabilities --disable-apparmor --with-distro=none
@ -37,7 +37,7 @@ post_install() {
# Install void lxc config/template.
vinstall ${FILESDIR}/void.common.conf 644 usr/share/lxc/config
vinstall ${FILESDIR}/lxc-void 755 usr/share/lxc/templates
vsv lxc-autostart
}
liblxc_package() {