cgmanager: added runit service.

This commit is contained in:
Juan RP 2015-08-11 08:52:41 +02:00
parent 78d4e5f1ab
commit e39727f8a2
2 changed files with 8 additions and 1 deletions

View file

@ -0,0 +1,3 @@
#!/bin/sh
sv check dbus >/dev/null || exit 1
exec cgmanager -q

View file

@ -1,7 +1,7 @@
# Template file for 'cgmanager'
pkgname=cgmanager
version=0.37
revision=2
revision=3
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --with-distro=void"
hostmakedepends="pkg-config"
@ -13,6 +13,10 @@ homepage="https://linuxcontainers.org/cgmanager/introduction/"
distfiles="https://linuxcontainers.org/downloads/cgmanager/cgmanager-${version}.tar.gz"
checksum=8309e7f2ae5f4a6b52cc2fca62c098b18ecfe90bca2c9c034ba80f68aa427b6e
post_install() {
vsv $pkgname
}
libcgmanager_package() {
short_desc+=" - runtime library"
pkg_install() {