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:
parent
a05b01e6c3
commit
464932ee19
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue