void-packages/srcpkgs/libcgroup/files/cgred/run
Sven Jonsson 464932ee19 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.
2016-12-24 09:38:04 +01:00

6 lines
238 B
Bash
Executable file

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