libcgroup: fix cgred service (#5346)

Updated the service according to

"https://forum.voidlinux.eu/t/unpriviledged-linux-container/1124/4"

This is necessary to get /etc/cgconfig.conf loaded.
This commit is contained in:
Sven Jonsson 2016-12-24 09:38:04 +01:00 committed by Juan RP
parent a05b01e6c3
commit 464932ee19
2 changed files with 4 additions and 3 deletions

View file

@ -1,5 +1,6 @@
#!/bin/sh
# Default logs to syslog with facility DAEMON
# man cgrulesengd for options list and descriptions.
: ${OPTS:=-s}
exec cgrulesengd $OPTS -g cgred --nodaemon 2>&1
[ -r conf ] && . ./conf
cgconfigparser ${PARSEOPTS:=-l /etc/cgconfig.conf}
exec cgrulesengd ${OPTS:=-s} -g cgred --nodaemon 2>&1

View file

@ -1,7 +1,7 @@
# Template file for 'libcgroup'
pkgname=libcgroup
version=0.41
revision=6
revision=7
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-pam-module-dir=/usr/lib/security"
hostmakedepends="flex automake libtool"